org.camunda.bpm.engine.impl
Class ActivityExecutionTreeMapping
java.lang.Object
org.camunda.bpm.engine.impl.ActivityExecutionTreeMapping
public class ActivityExecutionTreeMapping
- extends Object
Maps an activity (plain activities + their containing flow scopes) to the scope executions
that are executing them. For every instance of a scope, there is one such execution.
- Author:
- Thorben Lindhauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
activityExecutionMapping
protected Map<ScopeImpl,Set<ExecutionEntity>> activityExecutionMapping
commandContext
protected CommandContext commandContext
processInstanceId
protected String processInstanceId
processDefinition
protected ProcessDefinitionImpl processDefinition
ActivityExecutionTreeMapping
public ActivityExecutionTreeMapping(CommandContext commandContext,
String processInstanceId)
submitExecution
protected void submitExecution(ExecutionEntity execution,
ScopeImpl scope)
getExecutions
public Set<ExecutionEntity> getExecutions(ScopeImpl activity)
getExecution
public ExecutionEntity getExecution(ActivityInstance activityInstance)
intersect
protected ExecutionEntity intersect(Set<ExecutionEntity> executions,
String[] executionIds)
initialize
protected void initialize()
assignExecutionsToActivities
protected void assignExecutionsToActivities(List<ExecutionEntity> leaves)
mergeScopeExecutions
protected void mergeScopeExecutions(ExecutionEntity leaf)
fetchExecutionsForProcessInstance
protected List<ExecutionEntity> fetchExecutionsForProcessInstance(ExecutionEntity execution)
findLeaves
protected List<ExecutionEntity> findLeaves(List<ExecutionEntity> executions)
isLeaf
protected boolean isLeaf(ExecutionEntity execution)
- event-scope executions are not considered in this mapping and must be ignored
Copyright © 2016 camunda services GmbH. All rights reserved.