public class StageState
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about the state of the stage.
Modifier and Type | Field and Description |
---|---|
private java.util.List<ActionState> |
actionStates
The state of the stage.
|
private TransitionState |
inboundTransitionState
The state of the inbound transition, which is either enabled or disabled.
|
private java.lang.String |
stageName
The name of the stage.
|
Constructor and Description |
---|
StageState() |
Modifier and Type | Method and Description |
---|---|
StageState |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ActionState> |
getActionStates()
The state of the stage.
|
TransitionState |
getInboundTransitionState()
The state of the inbound transition, which is either enabled or disabled.
|
java.lang.String |
getStageName()
The name of the stage.
|
int |
hashCode() |
void |
setActionStates(java.util.Collection<ActionState> actionStates)
The state of the stage.
|
void |
setInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
|
void |
setStageName(java.lang.String stageName)
The name of the stage.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StageState |
withActionStates(ActionState... actionStates)
The state of the stage.
|
StageState |
withActionStates(java.util.Collection<ActionState> actionStates)
The state of the stage.
|
StageState |
withInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
|
StageState |
withStageName(java.lang.String stageName)
The name of the stage.
|
private java.lang.String stageName
The name of the stage.
private TransitionState inboundTransitionState
The state of the inbound transition, which is either enabled or disabled.
private java.util.List<ActionState> actionStates
The state of the stage.
public void setStageName(java.lang.String stageName)
The name of the stage.
stageName
- The name of the stage.public java.lang.String getStageName()
The name of the stage.
public StageState withStageName(java.lang.String stageName)
The name of the stage.
stageName
- The name of the stage.public void setInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
inboundTransitionState
- The state of the inbound transition, which is either enabled or
disabled.public TransitionState getInboundTransitionState()
The state of the inbound transition, which is either enabled or disabled.
public StageState withInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
inboundTransitionState
- The state of the inbound transition, which is either enabled or
disabled.public java.util.List<ActionState> getActionStates()
The state of the stage.
public void setActionStates(java.util.Collection<ActionState> actionStates)
The state of the stage.
actionStates
- The state of the stage.public StageState withActionStates(ActionState... actionStates)
The state of the stage.
NOTE: This method appends the values to the existing list (if
any). Use setActionStates(java.util.Collection)
or
withActionStates(java.util.Collection)
if you want to override
the existing values.
actionStates
- The state of the stage.public StageState withActionStates(java.util.Collection<ActionState> actionStates)
The state of the stage.
actionStates
- The state of the stage.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 StageState clone()
clone
in class java.lang.Object