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:
Runnable
Operation that leaves the
FlowElement where the ExecutionEntity is currently at
and leaves it following the sequence flow.-
Field Summary
FieldsFields inherited from class org.activiti.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution -
Constructor Summary
ConstructorsConstructorDescriptionTakeOutgoingSequenceFlowsOperation(CommandContext commandContext, ExecutionEntity executionEntity, boolean evaluateConditions) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanallChildExecutionsEnded(ExecutionEntity parentExecutionEntity, ExecutionEntity executionEntityToIgnore) protected voidprotected voidcleanupExecutions(FlowElement currentFlowElement) protected ExecutionEntityfindNextParentScopeExecutionWithAllEndedChildExecutions(ExecutionEntity executionEntity, ExecutionEntity executionEntityToIgnore) protected voidhandleActivityEnd(FlowNode flowNode) protected voidhandleAdhocSubProcess(FlowNode flowNode) protected voidhandleFlowNode(FlowNode flowNode) protected voidprotected voidleaveFlowNode(FlowNode flowNode) voidrun()Methods inherited from class org.activiti.engine.impl.agenda.AbstractOperation
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
-
Field Details
-
evaluateConditions
protected boolean evaluateConditions
-
-
Constructor Details
-
TakeOutgoingSequenceFlowsOperation
public TakeOutgoingSequenceFlowsOperation(CommandContext commandContext, ExecutionEntity executionEntity, boolean evaluateConditions)
-
-
Method Details
-
run
public void run() -
handleFlowNode
-
handleActivityEnd
-
leaveFlowNode
-
handleAdhocSubProcess
-
handleSequenceFlow
protected void handleSequenceFlow() -
cleanupCompensation
protected void cleanupCompensation() -
cleanupExecutions
-
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)
-