org.camunda.bpm.engine.impl.tree
Class ActivityExecutionMappingCollector

java.lang.Object
  extended by 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()

Constructor Summary
ActivityExecutionMappingCollector(ActivityExecution execution)
           
 
Method Summary
 PvmExecutionImpl getExecutionForScope(PvmScope scope)
           
 void visit(ActivityExecution execution)
          Invoked for a node in tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityExecutionMappingCollector

public ActivityExecutionMappingCollector(ActivityExecution execution)
Method Detail

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 © 2015 camunda services GmbH. All rights reserved.