com.dtolabs.rundeck.core.execution.workflow.state
Class WorkflowStepStateImpl

java.lang.Object
  extended by 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
WorkflowStepStateImpl()
           
 
Method Summary
 java.util.Map<java.lang.String,? extends StepState> getNodeStateMap()
          Return a map of node name to step states for the step
 java.util.List<java.lang.String> getNodeStepTargets()
          Return the set of node targets if this is a node step, or null
 StepIdentifier getStepIdentifier()
          The identifier
 StepState getStepState()
          The step's state
 WorkflowState getSubWorkflowState()
          Return the sub workflow state
 boolean hasSubWorkflow()
          Return true if the step contains a sub workflow
 boolean isNodeStep()
          Return true if this is a node step
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowStepStateImpl

public WorkflowStepStateImpl()
Method Detail

getStepIdentifier

public StepIdentifier getStepIdentifier()
Description copied from interface: WorkflowStepState
The identifier

Specified by:
getStepIdentifier in interface WorkflowStepState
Returns:

hasSubWorkflow

public boolean hasSubWorkflow()
Description copied from interface: WorkflowStepState
Return true if the step contains a sub workflow

Specified by:
hasSubWorkflow in interface WorkflowStepState
Returns:

getSubWorkflowState

public WorkflowState getSubWorkflowState()
Description copied from interface: WorkflowStepState
Return the sub workflow state

Specified by:
getSubWorkflowState in interface WorkflowStepState
Returns:

getStepState

public StepState getStepState()
Description copied from interface: WorkflowStepState
The step's state

Specified by:
getStepState in interface WorkflowStepState
Returns:

getNodeStateMap

public java.util.Map<java.lang.String,? extends StepState> getNodeStateMap()
Description copied from interface: WorkflowStepState
Return a map of node name to step states for the step

Specified by:
getNodeStateMap in interface WorkflowStepState
Returns:

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()
Description copied from interface: WorkflowStepState
Return the set of node targets if this is a node step, or null

Specified by:
getNodeStepTargets in interface WorkflowStepState
Returns:

setNodeStepTargets

public void setNodeStepTargets(java.util.List<java.lang.String> nodeStepTargets)

isNodeStep

public boolean isNodeStep()
Description copied from interface: WorkflowStepState
Return true if this is a node step

Specified by:
isNodeStep in interface WorkflowStepState
Returns:

setNodeStep

public void setNodeStep(boolean nodeStep)