public interface ManagedObject extends RepositoryObject
Modifier and Type | Method and Description |
---|---|
void |
clearUnsavedChanges()
Clear changes that have been saved
|
java.lang.String |
getOwner()
Return the owner of the managed object
|
int |
getPermission()
Return the permission for the managed object
|
java.lang.String |
getTeam()
Return the team for the managed object
|
boolean |
hasUnsavedChanges()
Return
true if the build result has unsaved changes |
void |
refresh()
Refresh the build result
|
void |
save()
Save the build result
|
void |
setOwner(java.lang.String owner)
Set the owner of the managed object
|
void |
setPermission(int permission)
Set the permission for the managed object.
|
void |
setTeam(java.lang.String team)
Set the team for the managed object
|
getCreated, getCreatedBy, getId, getLastUpdated, getLastUpdatedBy, getRestService, getUrl, toJSON, toString
java.lang.String getOwner()
void setOwner(java.lang.String owner)
owner
- the owner of the managed objectjava.lang.String getTeam()
void setTeam(java.lang.String team)
team
- the team for the managed objectint getPermission()
void setPermission(int permission)
permission
- the permission for the managed objectboolean hasUnsavedChanges()
true
if the build result has unsaved changestrue
if the build result has unsaved changesvoid refresh() throws ConnectionException
ConnectionException
- an exception occurredvoid save() throws ConnectionException
ConnectionException
- an exception occurredvoid clearUnsavedChanges()
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.