Package org.activiti.engine.impl.agenda
Class TakeOutgoingSequenceFlowsOperation
- java.lang.Object
-
- org.activiti.engine.impl.agenda.AbstractOperation
-
- org.activiti.engine.impl.agenda.TakeOutgoingSequenceFlowsOperation
-
- All Implemented Interfaces:
java.lang.Runnable
public class TakeOutgoingSequenceFlowsOperation extends AbstractOperation
Operation that leaves theFlowElementwhere theExecutionEntityis currently at and leaves it following the sequence flow.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanevaluateConditions-
Fields inherited from class org.activiti.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution
-
-
Constructor Summary
Constructors Constructor Description TakeOutgoingSequenceFlowsOperation(CommandContext commandContext, ExecutionEntity executionEntity, boolean evaluateConditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanallChildExecutionsEnded(ExecutionEntity parentExecutionEntity, ExecutionEntity executionEntityToIgnore)protected voidcleanupCompensation()protected voidcleanupExecutions(org.activiti.bpmn.model.FlowElement currentFlowElement)protected ExecutionEntityfindNextParentScopeExecutionWithAllEndedChildExecutions(ExecutionEntity executionEntity, ExecutionEntity executionEntityToIgnore)protected voidhandleActivityEnd(org.activiti.bpmn.model.FlowNode flowNode)protected voidhandleAdhocSubProcess(org.activiti.bpmn.model.FlowNode flowNode)protected voidhandleFlowNode(org.activiti.bpmn.model.FlowNode flowNode)protected voidhandleSequenceFlow()protected voidleaveFlowNode(org.activiti.bpmn.model.FlowNode flowNode)voidrun()-
Methods inherited from class org.activiti.engine.impl.agenda.AbstractOperation
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
-
-
-
-
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)
-
-