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()
The gates included in a stage.
|
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)
The gates included in a stage.
|
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)
The gates included in a stage.
|
StageDeclaration |
withBlockers(Collection<BlockerDeclaration> blockers)
The gates included in a stage.
|
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()
The gates included in a stage.
public void setBlockers(Collection<BlockerDeclaration> blockers)
The gates included in a stage.
blockers - The gates included in a stage.public StageDeclaration withBlockers(BlockerDeclaration... blockers)
The gates included in a stage.
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 - The gates included in a stage.public StageDeclaration withBlockers(Collection<BlockerDeclaration> blockers)
The gates included in a stage.
blockers - The gates included in a stage.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 ObjectObject.toString()public StageDeclaration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.