Class WorkflowStepStateImpl
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.state.WorkflowStepStateImpl
-
- All Implemented Interfaces:
WorkflowStepState
public class WorkflowStepStateImpl extends java.lang.Object implements WorkflowStepState
$INTERFACE is ... User: greg Date: 10/15/13 Time: 3:00 PM
-
-
Constructor Summary
Constructors Constructor Description WorkflowStepStateImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,? extends StepState>
getNodeStateMap()
java.util.List<java.lang.String>
getNodeStepTargets()
java.util.Map<java.lang.String,? extends WorkflowStepState>
getParameterizedStateMap()
StepIdentifier
getStepIdentifier()
StepState
getStepState()
WorkflowState
getSubWorkflowState()
boolean
hasSubWorkflow()
boolean
isNodeStep()
void
setNodeStateMap(java.util.Map<java.lang.String,StepState> nodeStateMap)
void
setNodeStep(boolean nodeStep)
void
setNodeStepTargets(java.util.List<java.lang.String> nodeStepTargets)
void
setStepIdentifier(StepIdentifier stepIdentifier)
void
setStepState(StepState stepState)
void
setSubWorkflow(boolean subWorkflow)
void
setSubWorkflowState(WorkflowState subWorkflowState)
-
-
-
Method Detail
-
getStepIdentifier
public StepIdentifier getStepIdentifier()
- Specified by:
getStepIdentifier
in interfaceWorkflowStepState
- Returns:
- The identifier
-
hasSubWorkflow
public boolean hasSubWorkflow()
- Specified by:
hasSubWorkflow
in interfaceWorkflowStepState
- Returns:
- true if the step contains a sub workflow
-
getSubWorkflowState
public WorkflowState getSubWorkflowState()
- Specified by:
getSubWorkflowState
in interfaceWorkflowStepState
- Returns:
- the sub workflow state
-
getStepState
public StepState getStepState()
- Specified by:
getStepState
in interfaceWorkflowStepState
- Returns:
- The step's state
-
getNodeStateMap
public java.util.Map<java.lang.String,? extends StepState> getNodeStateMap()
- Specified by:
getNodeStateMap
in interfaceWorkflowStepState
- Returns:
- a map of node name to step states for the step
-
setStepIdentifier
public void setStepIdentifier(StepIdentifier stepIdentifier)
-
setStepState
public void setStepState(StepState stepState)
-
setNodeStateMap
public void setNodeStateMap(java.util.Map<java.lang.String,StepState> nodeStateMap)
-
setSubWorkflow
public void setSubWorkflow(boolean subWorkflow)
-
setSubWorkflowState
public void setSubWorkflowState(WorkflowState subWorkflowState)
-
getNodeStepTargets
public java.util.List<java.lang.String> getNodeStepTargets()
- Specified by:
getNodeStepTargets
in interfaceWorkflowStepState
- Returns:
- the set of node targets if this is a node step, or null
-
setNodeStepTargets
public void setNodeStepTargets(java.util.List<java.lang.String> nodeStepTargets)
-
isNodeStep
public boolean isNodeStep()
- Specified by:
isNodeStep
in interfaceWorkflowStepState
- Returns:
- true if this is a node step
-
setNodeStep
public void setNodeStep(boolean nodeStep)
-
getParameterizedStateMap
public java.util.Map<java.lang.String,? extends WorkflowStepState> getParameterizedStateMap()
- Specified by:
getParameterizedStateMap
in interfaceWorkflowStepState
- Returns:
- a map of parameter strings to representative WorkflowStepStates
-
-