Interface WorkflowStepState
-
- All Known Implementing Classes:
WorkflowStepStateImpl
public interface WorkflowStepState
Describes the state of a step within a workflow, which has an identifier, a possible sub workflow, and possible node-oriented states.
-
-
Method Summary
All Methods Instance Methods Abstract 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()
-
-
-
Method Detail
-
getStepIdentifier
StepIdentifier getStepIdentifier()
- Returns:
- The identifier
-
getStepState
StepState getStepState()
- Returns:
- The step's state
-
getNodeStateMap
java.util.Map<java.lang.String,? extends StepState> getNodeStateMap()
- Returns:
- a map of node name to step states for the step
-
getParameterizedStateMap
java.util.Map<java.lang.String,? extends WorkflowStepState> getParameterizedStateMap()
- Returns:
- a map of parameter strings to representative WorkflowStepStates
-
hasSubWorkflow
boolean hasSubWorkflow()
- Returns:
- true if the step contains a sub workflow
-
getSubWorkflowState
WorkflowState getSubWorkflowState()
- Returns:
- the sub workflow state
-
getNodeStepTargets
java.util.List<java.lang.String> getNodeStepTargets()
- Returns:
- the set of node targets if this is a node step, or null
-
isNodeStep
boolean isNodeStep()
- Returns:
- true if this is a node step
-
-