Interface WorkflowState
-
- All Superinterfaces:
HasExecutionState
- All Known Implementing Classes:
WorkflowStateImpl
public interface WorkflowState extends HasExecutionState
Represents the state of a workflow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>getAllNodes()java.util.DategetEndTime()ExecutionStategetExecutionState()java.util.List<java.lang.String>getNodeSet()java.util.Map<java.lang.String,? extends WorkflowNodeState>getNodeStates()java.lang.StringgetServerNode()java.util.DategetStartTime()longgetStepCount()java.util.List<WorkflowStepState>getStepStates()java.util.DategetUpdateTime()
-
-
-
Method Detail
-
getNodeSet
java.util.List<java.lang.String> getNodeSet()
- Returns:
- The set of nodes the workflow is running on
-
getAllNodes
java.util.List<java.lang.String> getAllNodes()
- Returns:
- the set of all nodes this and and all sub workflows are operating on
-
getServerNode
java.lang.String getServerNode()
- Returns:
- the name of the server node
-
getStepCount
long getStepCount()
- Returns:
- The number of steps the workflow will run
-
getExecutionState
ExecutionState getExecutionState()
- Specified by:
getExecutionStatein interfaceHasExecutionState- Returns:
- The execution state of the workflow
-
getUpdateTime
java.util.Date getUpdateTime()
- Returns:
- The latest timestamp for the workflow state
-
getStartTime
java.util.Date getStartTime()
-
getEndTime
java.util.Date getEndTime()
-
getStepStates
java.util.List<WorkflowStepState> getStepStates()
- Returns:
- The list of states for the steps
-
getNodeStates
java.util.Map<java.lang.String,? extends WorkflowNodeState> getNodeStates()
- Returns:
- The list of states for all nodes
-
-