public class EndExecutionOperation extends AbstractOperation
agenda, commandContext, execution
Constructor and Description |
---|
EndExecutionOperation(CommandContext commandContext,
ExecutionEntity execution) |
Modifier and Type | Method and Description |
---|---|
protected List<ExecutionEntity> |
getActiveChildExecutionsForExecution(ExecutionEntityManager executionEntityManager,
String executionId) |
protected int |
getNumberOfActiveChildExecutionsForExecution(ExecutionEntityManager executionEntityManager,
String executionId) |
protected int |
getNumberOfActiveChildExecutionsForProcessInstance(ExecutionEntityManager executionEntityManager,
String processInstanceId) |
protected org.activiti.bpmn.model.Process |
getProcess(String processDefinitionId) |
protected boolean |
isAllEventScopeExecutions(ExecutionEntityManager executionEntityManager,
ExecutionEntity parentExecution) |
void |
run() |
executeExecutionListeners, executeExecutionListeners, findCurrentFlowElement, getAgenda, getCommandContext, getExecution, setAgenda, setCommandContext, setExecution
public EndExecutionOperation(CommandContext commandContext, ExecutionEntity execution)
public void run()
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 org.activiti.bpmn.model.Process getProcess(String processDefinitionId)
Copyright © 2015 Alfresco. All rights reserved.