public class StageDeclaration extends Object implements Serializable, Cloneable
Represents information about a stage and its definition.
Constructor and Description |
---|
StageDeclaration() |
Modifier and Type | Method and Description |
---|---|
StageDeclaration |
clone() |
boolean |
equals(Object obj) |
List<ActionDeclaration> |
getActions()
The actions included in a stage.
|
List<BlockerDeclaration> |
getBlockers()
Reserved for future use.
|
String |
getName()
The name of the stage.
|
int |
hashCode() |
void |
setActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
|
void |
setBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
void |
setName(String name)
The name of the stage.
|
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(Collection<ActionDeclaration> actions)
The actions included in a stage.
|
StageDeclaration |
withBlockers(BlockerDeclaration... blockers)
Reserved for future use.
|
StageDeclaration |
withBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
StageDeclaration |
withName(String name)
The name of the stage.
|
public void setName(String name)
The name of the stage.
name
- The name of the stage.public String getName()
The name of the stage.
public StageDeclaration withName(String name)
The name of the stage.
name
- The name of the stage.public List<BlockerDeclaration> getBlockers()
Reserved for future use.
public void setBlockers(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(Collection<BlockerDeclaration> blockers)
Reserved for future use.
blockers
- Reserved for future use.public List<ActionDeclaration> getActions()
The actions included in a stage.
public void setActions(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(Collection<ActionDeclaration> actions)
The actions included in a stage.
actions
- The actions included in a stage.public String toString()
toString
in class Object
Object.toString()
public StageDeclaration clone()
Copyright © 2018. All rights reserved.