public class ActionState extends Object implements Serializable, Cloneable
Represents information about the state of an action.
| Constructor and Description |
|---|
ActionState() |
| Modifier and Type | Method and Description |
|---|---|
ActionState |
clone() |
boolean |
equals(Object obj) |
String |
getActionName()
The name of the action.
|
ActionRevision |
getCurrentRevision() |
String |
getEntityUrl()
A URL link for more information about the state of the action, such as a deployment group details page.
|
ActionExecution |
getLatestExecution() |
String |
getRevisionUrl()
A URL link for more information about the revision, such as a commit details page.
|
int |
hashCode() |
void |
setActionName(String actionName)
The name of the action.
|
void |
setCurrentRevision(ActionRevision currentRevision) |
void |
setEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.
|
void |
setLatestExecution(ActionExecution latestExecution) |
void |
setRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ActionState |
withActionName(String actionName)
The name of the action.
|
ActionState |
withCurrentRevision(ActionRevision currentRevision) |
ActionState |
withEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.
|
ActionState |
withLatestExecution(ActionExecution latestExecution) |
ActionState |
withRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
|
public void setActionName(String actionName)
The name of the action.
actionName - The name of the action.public String getActionName()
The name of the action.
public ActionState withActionName(String actionName)
The name of the action.
actionName - The name of the action.public void setCurrentRevision(ActionRevision currentRevision)
currentRevision - public ActionRevision getCurrentRevision()
public ActionState withCurrentRevision(ActionRevision currentRevision)
currentRevision - public void setLatestExecution(ActionExecution latestExecution)
latestExecution - public ActionExecution getLatestExecution()
public ActionState withLatestExecution(ActionExecution latestExecution)
latestExecution - public void setEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.
entityUrl - A URL link for more information about the state of the action, such as a deployment group details page.public String getEntityUrl()
A URL link for more information about the state of the action, such as a deployment group details page.
public ActionState withEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.
entityUrl - A URL link for more information about the state of the action, such as a deployment group details page.public void setRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
revisionUrl - A URL link for more information about the revision, such as a commit details page.public String getRevisionUrl()
A URL link for more information about the revision, such as a commit details page.
public ActionState withRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
revisionUrl - A URL link for more information about the revision, such as a commit details page.public String toString()
toString in class ObjectObject.toString()public ActionState clone()
Copyright © 2016. All rights reserved.