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
@Component public abstract class FlowNodeStateSequences extends java.lang.ObjectFor a given flow node type, this class maintains the supported flow node states and the sequence and transitions from one state to another. EachFlowNodeStatesAndTransitionsclass defines 3 state sequences:- one for the normal flow
- one for the aborting flow
- one for the cancelling flow
-
-
Constructor Summary
Constructors Constructor Description FlowNodeStateSequences()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddefineAbortSequence(FlowNodeState... flowNodeStates)protected voiddefineCancelSequence(FlowNodeState... flowNodeStates)protected voiddefineNormalSequence(FlowNodeState... flowNodeStates)FlowNodeStategetFirstState(SStateCategory category)abstract SFlowNodeTypegetFlowNodeType()FlowNodeStategetStateAfter(SStateCategory category, int currentStateId)java.util.Set<java.lang.String>getSupportedStates()
-
-
-
Method Detail
-
defineNormalSequence
protected void defineNormalSequence(FlowNodeState... flowNodeStates)
-
defineCancelSequence
protected void defineCancelSequence(FlowNodeState... flowNodeStates)
-
defineAbortSequence
protected void defineAbortSequence(FlowNodeState... flowNodeStates)
-
getFlowNodeType
public abstract SFlowNodeType getFlowNodeType()
-
getFirstState
public FlowNodeState getFirstState(SStateCategory category)
-
getStateAfter
public FlowNodeState getStateAfter(SStateCategory category, int currentStateId)
-
getSupportedStates
public java.util.Set<java.lang.String> getSupportedStates()
-
-