public class ActivityExecutionMapping extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<ScopeImpl,Set<ExecutionEntity>> |
activityExecutionMapping |
protected CommandContext |
commandContext |
protected ActivityExecutionMapping |
priorMapping |
protected String |
processInstanceId |
Constructor and Description |
---|
ActivityExecutionMapping(CommandContext commandContext,
String processInstanceId) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignExecutionsToActivities(List<ExecutionEntity> leaves) |
protected List<ExecutionEntity> |
fetchExecutionsForProcessInstance(ExecutionEntity execution) |
protected List<ExecutionEntity> |
findLeaves(List<ExecutionEntity> executions) |
Set<ExecutionEntity> |
getExecutions(ScopeImpl activity) |
protected void |
initialize() |
protected boolean |
isLeaf(ExecutionEntity execution)
event-scope executions are not considered in this mapping and must be ignored
|
protected void |
mergeScopeExecutions(ExecutionEntity leaf) |
protected void |
submitExecution(ExecutionEntity execution,
ScopeImpl scope) |
protected Map<ScopeImpl,Set<ExecutionEntity>> activityExecutionMapping
protected CommandContext commandContext
protected String processInstanceId
protected ActivityExecutionMapping priorMapping
public ActivityExecutionMapping(CommandContext commandContext, String processInstanceId)
protected void submitExecution(ExecutionEntity execution, ScopeImpl scope)
public Set<ExecutionEntity> getExecutions(ScopeImpl activity)
protected void initialize()
protected void assignExecutionsToActivities(List<ExecutionEntity> leaves)
protected void mergeScopeExecutions(ExecutionEntity leaf)
protected List<ExecutionEntity> fetchExecutionsForProcessInstance(ExecutionEntity execution)
protected List<ExecutionEntity> findLeaves(List<ExecutionEntity> executions)
protected boolean isLeaf(ExecutionEntity execution)
Copyright © 2018. All rights reserved.