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
Fields Modifier and Type Field Description protected List<PvmExecutionImpl>
leaves
-
Constructor Summary
Constructors Constructor Description LeafActivityInstanceExecutionCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PvmExecutionImpl>
getLeaves()
void
visit(PvmExecutionImpl obj)
Invoked for a node in tree.
-
-
-
Field Detail
-
leaves
protected List<PvmExecutionImpl> leaves
-
-
Method Detail
-
visit
public void visit(PvmExecutionImpl obj)
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
public List<PvmExecutionImpl> getLeaves()
-
-