org.camunda.bpm.engine.impl.tree
Class ActivityExecutionMappingCollector
java.lang.Object
org.camunda.bpm.engine.impl.tree.ActivityExecutionMappingCollector
- All Implemented Interfaces:
- TreeVisitor<ActivityExecution>
public class ActivityExecutionMappingCollector
- extends Object
- implements TreeVisitor<ActivityExecution>
Collect the mappings of scopes and executions. It can be used to collect the mappings over process instances.
- Author:
- Philipp Ossler
- See Also:
ActivityExecution.createActivityExecutionMapping()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityExecutionMappingCollector
public ActivityExecutionMappingCollector(ActivityExecution execution)
visit
public void visit(ActivityExecution execution)
- Description copied from interface:
TreeVisitor
- Invoked for a node in tree.
- Specified by:
visit in interface TreeVisitor<ActivityExecution>
- Parameters:
execution - a reference to the node
getExecutionForScope
public PvmExecutionImpl getExecutionForScope(PvmScope scope)
- Returns:
- the mapped execution for scope or
null, if no mapping exists
Copyright © 2017 camunda services GmbH. All rights reserved.