public class ActionState
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about the state of an action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
actionName
The name of the action.
|
private ActionRevision |
currentRevision |
private java.lang.String |
entityUrl
A URL link for more information about the state of the action, such as a
deployment group details page.
|
private ActionExecution |
latestExecution |
private java.lang.String |
revisionUrl
A URL link for more information about the revision, such as a commit
details page.
|
Constructor and Description |
---|
ActionState() |
Modifier and Type | Method and Description |
---|---|
ActionState |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionName()
The name of the action.
|
ActionRevision |
getCurrentRevision() |
java.lang.String |
getEntityUrl()
A URL link for more information about the state of the action, such as a
deployment group details page.
|
ActionExecution |
getLatestExecution() |
java.lang.String |
getRevisionUrl()
A URL link for more information about the revision, such as a commit
details page.
|
int |
hashCode() |
void |
setActionName(java.lang.String actionName)
The name of the action.
|
void |
setCurrentRevision(ActionRevision currentRevision) |
void |
setEntityUrl(java.lang.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(java.lang.String revisionUrl)
A URL link for more information about the revision, such as a commit
details page.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActionState |
withActionName(java.lang.String actionName)
The name of the action.
|
ActionState |
withCurrentRevision(ActionRevision currentRevision) |
ActionState |
withEntityUrl(java.lang.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(java.lang.String revisionUrl)
A URL link for more information about the revision, such as a commit
details page.
|
private java.lang.String actionName
The name of the action.
private ActionRevision currentRevision
private ActionExecution latestExecution
private java.lang.String entityUrl
A URL link for more information about the state of the action, such as a deployment group details page.
private java.lang.String revisionUrl
A URL link for more information about the revision, such as a commit details page.
public void setActionName(java.lang.String actionName)
The name of the action.
actionName
- The name of the action.public java.lang.String getActionName()
The name of the action.
public ActionState withActionName(java.lang.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(java.lang.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 java.lang.String getEntityUrl()
A URL link for more information about the state of the action, such as a deployment group details page.
public ActionState withEntityUrl(java.lang.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(java.lang.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 java.lang.String getRevisionUrl()
A URL link for more information about the revision, such as a commit details page.
public ActionState withRevisionUrl(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActionState clone()
clone
in class java.lang.Object