Package 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
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
leaves
-
-
Constructor Details
-
LeafActivityInstanceExecutionCollector
public LeafActivityInstanceExecutionCollector()
-
-
Method Details
-
visit
Description copied from interface:TreeVisitor
Invoked for a node in tree.- Specified by:
visit
in interfaceTreeVisitor<PvmExecutionImpl>
- Parameters:
obj
- a reference to the node
-
getLeaves
-