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 Object
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 Details

    • FlowNodeStateSequences

      public FlowNodeStateSequences()
  • Method Details

    • 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 Set<String> getSupportedStates()