org.camunda.bpm.engine.impl.tree
Class LeafActivityInstanceExecutionCollector
java.lang.Object
org.camunda.bpm.engine.impl.tree.LeafActivityInstanceExecutionCollector
- All Implemented Interfaces:
- TreeVisitor<PvmExecutionImpl>
public class LeafActivityInstanceExecutionCollector
- extends Object
- implements TreeVisitor<PvmExecutionImpl>
Collects executions that execute an activity instance that is a leaf in the activity instance tree.
Typically, such executions are also leaves in the execution tree. The exception to this are compensation-throwing
executions: Their activities are leaves but they have child executions responsible for compensation handling.
- Author:
- Thorben Lindhauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
leaves
protected List<PvmExecutionImpl> leaves
LeafActivityInstanceExecutionCollector
public LeafActivityInstanceExecutionCollector()
visit
public void visit(PvmExecutionImpl obj)
- Description copied from interface:
TreeVisitor
- Invoked for a node in tree.
- Specified by:
visit in interface TreeVisitor<PvmExecutionImpl>
- Parameters:
obj - a reference to the node
getLeaves
public List<PvmExecutionImpl> getLeaves()
Copyright © 2017 camunda services GmbH. All rights reserved.