Class FlowNodeStateSequences
java.lang.Object
org.bonitasoft.engine.execution.transition.FlowNodeStateSequences
- Direct Known Subclasses:
AutomaticTaskStates,BoundaryEventStates,CallActivityTaskStates,EndEventStates,GatewaysStates,IntermediateCatchEventStates,IntermediateThrowEventStates,LoopActivityStates,ManualTaskStates,MultiInstanceActivityStates,ReceiveTaskStates,SendTaskStates,StartEventStates,SubProcessActivityTaskStates,UserTaskStates
For a given flow node type, this class maintains the supported flow node states and the sequence
and transitions from one state to another.
Each
FlowNodeStatesAndTransitions class defines 3 state sequences:
- one for the normal flow
- one for the aborting flow
- one for the cancelling flow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddefineAbortSequence(FlowNodeState... flowNodeStates) protected voiddefineCancelSequence(FlowNodeState... flowNodeStates) protected voiddefineNormalSequence(FlowNodeState... flowNodeStates) getFirstState(SStateCategory category) abstract SFlowNodeTypegetStateAfter(SStateCategory category, int currentStateId)
-
Constructor Details
-
FlowNodeStateSequences
public FlowNodeStateSequences()
-
-
Method Details
-
defineNormalSequence
-
defineCancelSequence
-
defineAbortSequence
-
getFlowNodeType
-
getFirstState
-
getStateAfter
-
getSupportedStates
-