public class EndExecutionOperation extends AbstractOperation
This operations is typically not scheduled from an ActivityBehavior, but rather from
another operation. This happens when the conditions are so that the process can't continue via the regular
ways and an execution cleanup needs to happen, potentially opening up new ways of continuing the process instance.
agenda, commandContext, execution| Constructor and Description |
|---|
EndExecutionOperation(CommandContext commandContext,
ExecutionEntity execution) |
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecutionpublic EndExecutionOperation(CommandContext commandContext, ExecutionEntity execution)
public void run()
protected void handleProcessInstanceExecution(ExecutionEntity processInstanceExecution)
protected void handleRegularExecution()
protected ExecutionEntity handleSubProcessEnd(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution, SubProcess subProcess)
protected ExecutionEntity handleRegularExecutionEnd(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution)
protected void handleMultiInstanceSubProcess(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution)
protected boolean isEndEventInMultiInstanceSubprocess(ExecutionEntity executionEntity)
protected int getNumberOfActiveChildExecutionsForProcessInstance(ExecutionEntityManager executionEntityManager, String processInstanceId)
protected int getNumberOfActiveChildExecutionsForExecution(ExecutionEntityManager executionEntityManager, String executionId)
protected List<ExecutionEntity> getActiveChildExecutionsForExecution(ExecutionEntityManager executionEntityManager, String executionId)
protected boolean isAllEventScopeExecutions(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution)
protected boolean allChildExecutionsEnded(ExecutionEntity parentExecutionEntity, ExecutionEntity executionEntityToIgnore)
Copyright © 2010–2018 Alfresco. All rights reserved.