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(FlowElement currentFlowElement) |
protected ExecutionEntity |
findNextParentScopeExecutionWithAllEndedChildExecutions(ExecutionEntity executionEntity,
ExecutionEntity executionEntityToIgnore) |
protected void |
handleActivityEnd(FlowNode flowNode) |
protected void |
handleAdhocSubProcess(FlowNode flowNode) |
protected void |
handleFlowNode(FlowNode flowNode) |
protected void |
handleSequenceFlow() |
protected void |
leaveFlowNode(FlowNode flowNode) |
void |
run() |
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecutionpublic TakeOutgoingSequenceFlowsOperation(CommandContext commandContext, ExecutionEntity executionEntity, boolean evaluateConditions)
public void run()
protected void handleFlowNode(FlowNode flowNode)
protected void handleActivityEnd(FlowNode flowNode)
protected void leaveFlowNode(FlowNode flowNode)
protected void handleAdhocSubProcess(FlowNode flowNode)
protected void handleSequenceFlow()
protected void cleanupCompensation()
protected void cleanupExecutions(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 © 2010–2018 Alfresco. All rights reserved.