public class TakeOutgoingSequenceFlowsOperation extends AbstractOperation
FlowElement
where the ExecutionEntity
is currently at
and leaves it following the sequence flow.Modifier and Type | Field and Description |
---|---|
protected boolean |
evaluateConditions |
agenda, commandContext, execution
Constructor and Description |
---|
TakeOutgoingSequenceFlowsOperation(CommandContext commandContext,
ExecutionEntity executionEntity,
boolean evaluateConditions) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allChildExecutionsEnded(ExecutionEntity parentExecutionEntity,
ExecutionEntity executionEntityToIgnore) |
protected void |
cleanupCompensation() |
protected void |
cleanupExecutions(org.flowable.bpmn.model.FlowElement currentFlowElement) |
protected ExecutionEntity |
findNextParentScopeExecutionWithAllEndedChildExecutions(ExecutionEntity executionEntity,
ExecutionEntity executionEntityToIgnore) |
protected void |
handleActivityEnd(org.flowable.bpmn.model.FlowNode flowNode) |
protected void |
handleAdhocSubProcess(org.flowable.bpmn.model.FlowNode flowNode) |
protected void |
handleFlowNode(org.flowable.bpmn.model.FlowNode flowNode) |
protected void |
handleSequenceFlow() |
protected void |
leaveFlowNode(org.flowable.bpmn.model.FlowNode flowNode) |
void |
run() |
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
public TakeOutgoingSequenceFlowsOperation(CommandContext commandContext, ExecutionEntity executionEntity, boolean evaluateConditions)
public void run()
protected void handleFlowNode(org.flowable.bpmn.model.FlowNode flowNode)
protected void handleActivityEnd(org.flowable.bpmn.model.FlowNode flowNode)
protected void leaveFlowNode(org.flowable.bpmn.model.FlowNode flowNode)
protected void handleAdhocSubProcess(org.flowable.bpmn.model.FlowNode flowNode)
protected void handleSequenceFlow()
protected void cleanupCompensation()
protected void cleanupExecutions(org.flowable.bpmn.model.FlowElement currentFlowElement)
protected ExecutionEntity findNextParentScopeExecutionWithAllEndedChildExecutions(ExecutionEntity executionEntity, ExecutionEntity executionEntityToIgnore)
executionEntityToIgnore
- The execution entity which we can ignore to be ended,
as it's the execution currently being handled in this operation.protected boolean allChildExecutionsEnded(ExecutionEntity parentExecutionEntity, ExecutionEntity executionEntityToIgnore)
Copyright © 2016 Flowable. All rights reserved.