public class StageDeclaration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about a stage and its definition.
Modifier and Type | Field and Description |
---|---|
private java.util.List<ActionDeclaration> |
actions
The actions included in a stage.
|
private java.util.List<BlockerDeclaration> |
blockers
Reserved for future use.
|
private java.lang.String |
name
The name of the stage.
|
Constructor and Description |
---|
StageDeclaration() |
Modifier and Type | Method and Description |
---|---|
StageDeclaration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ActionDeclaration> |
getActions()
The actions included in a stage.
|
java.util.List<BlockerDeclaration> |
getBlockers()
Reserved for future use.
|
java.lang.String |
getName()
The name of the stage.
|
int |
hashCode() |
void |
setActions(java.util.Collection<ActionDeclaration> actions)
The actions included in a stage.
|
void |
setBlockers(java.util.Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
void |
setName(java.lang.String name)
The name of the stage.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StageDeclaration |
withActions(ActionDeclaration... actions)
The actions included in a stage.
|
StageDeclaration |
withActions(java.util.Collection<ActionDeclaration> actions)
The actions included in a stage.
|
StageDeclaration |
withBlockers(BlockerDeclaration... blockers)
Reserved for future use.
|
StageDeclaration |
withBlockers(java.util.Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
StageDeclaration |
withName(java.lang.String name)
The name of the stage.
|
private java.lang.String name
The name of the stage.
private java.util.List<BlockerDeclaration> blockers
Reserved for future use.
private java.util.List<ActionDeclaration> actions
The actions included in a stage.
public void setName(java.lang.String name)
The name of the stage.
name
- The name of the stage.public java.lang.String getName()
The name of the stage.
public StageDeclaration withName(java.lang.String name)
The name of the stage.
name
- The name of the stage.public java.util.List<BlockerDeclaration> getBlockers()
Reserved for future use.
public void setBlockers(java.util.Collection<BlockerDeclaration> blockers)
Reserved for future use.
blockers
- Reserved for future use.public StageDeclaration withBlockers(BlockerDeclaration... blockers)
Reserved for future use.
NOTE: This method appends the values to the existing list (if
any). Use setBlockers(java.util.Collection)
or
withBlockers(java.util.Collection)
if you want to override the
existing values.
blockers
- Reserved for future use.public StageDeclaration withBlockers(java.util.Collection<BlockerDeclaration> blockers)
Reserved for future use.
blockers
- Reserved for future use.public java.util.List<ActionDeclaration> getActions()
The actions included in a stage.
public void setActions(java.util.Collection<ActionDeclaration> actions)
The actions included in a stage.
actions
- The actions included in a stage.public StageDeclaration withActions(ActionDeclaration... actions)
The actions included in a stage.
NOTE: This method appends the values to the existing list (if
any). Use setActions(java.util.Collection)
or
withActions(java.util.Collection)
if you want to override the
existing values.
actions
- The actions included in a stage.public StageDeclaration withActions(java.util.Collection<ActionDeclaration> actions)
The actions included in a stage.
actions
- The actions included in a 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 StageDeclaration clone()
clone
in class java.lang.Object