Class TakeOutgoingSequenceFlowsOperation

  • All Implemented Interfaces:
    java.lang.Runnable

    public class TakeOutgoingSequenceFlowsOperation
    extends AbstractOperation
    Operation that leaves the FlowElement where the ExecutionEntity is currently at and leaves it following the sequence flow.
    • Field Detail

      • evaluateConditions

        protected boolean evaluateConditions
    • Constructor Detail

      • TakeOutgoingSequenceFlowsOperation

        public TakeOutgoingSequenceFlowsOperation​(CommandContext commandContext,
                                                  ExecutionEntity executionEntity,
                                                  boolean evaluateConditions)
    • Method Detail

      • run

        public void run()
      • handleFlowNode

        protected void handleFlowNode​(org.activiti.bpmn.model.FlowNode flowNode)
      • handleActivityEnd

        protected void handleActivityEnd​(org.activiti.bpmn.model.FlowNode flowNode)
      • leaveFlowNode

        protected void leaveFlowNode​(org.activiti.bpmn.model.FlowNode flowNode)
      • handleAdhocSubProcess

        protected void handleAdhocSubProcess​(org.activiti.bpmn.model.FlowNode flowNode)
      • handleSequenceFlow

        protected void handleSequenceFlow()
      • cleanupCompensation

        protected void cleanupCompensation()
      • cleanupExecutions

        protected void cleanupExecutions​(org.activiti.bpmn.model.FlowElement currentFlowElement)
      • findNextParentScopeExecutionWithAllEndedChildExecutions

        protected ExecutionEntity findNextParentScopeExecutionWithAllEndedChildExecutions​(ExecutionEntity executionEntity,
                                                                                          ExecutionEntity executionEntityToIgnore)
        Parameters:
        executionEntityToIgnore - The execution entity which we can ignore to be ended, as it's the execution currently being handled in this operation.
      • allChildExecutionsEnded

        protected boolean allChildExecutionsEnded​(ExecutionEntity parentExecutionEntity,
                                                  ExecutionEntity executionEntityToIgnore)