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(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 voidprotected 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
-
Field Details
-
evaluateConditions
protected boolean evaluateConditions
-
-
Constructor Details
-
TakeOutgoingSequenceFlowsOperation
public TakeOutgoingSequenceFlowsOperation(CommandContext commandContext, ExecutionEntity executionEntity, boolean evaluateConditions)
-
-
Method Details
-
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)
-