Package org.activiti.engine.debug
Class ExecutionTree
- java.lang.Object
-
- org.activiti.engine.debug.ExecutionTree
-
- All Implemented Interfaces:
java.lang.Iterable<ExecutionTreeNode>
public class ExecutionTree extends java.lang.Object implements java.lang.Iterable<ExecutionTreeNode>
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutionTreeNoderoot
-
Constructor Summary
Constructors Constructor Description ExecutionTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionTreeBfsIteratorbfsIterator()ExecutionTreeNodegetRoot()ExecutionTreeNodegetTreeNode(java.lang.String executionId)Looks up theExecutionEntityfor a given id.protected ExecutionTreeNodegetTreeNode(java.lang.String executionId, ExecutionTreeNode currentNode)java.util.Iterator<ExecutionTreeNode>iterator()ExecutionTreeBfsIteratorleafsFirstIterator()Uses anExecutionTreeBfsIterator, but returns the leafs first (so flipped order of BFS)voidsetRoot(ExecutionTreeNode root)java.lang.StringtoString()
-
-
-
Field Detail
-
root
protected ExecutionTreeNode root
-
-
Method Detail
-
getRoot
public ExecutionTreeNode getRoot()
-
setRoot
public void setRoot(ExecutionTreeNode root)
-
getTreeNode
public ExecutionTreeNode getTreeNode(java.lang.String executionId)
Looks up theExecutionEntityfor a given id.
-
getTreeNode
protected ExecutionTreeNode getTreeNode(java.lang.String executionId, ExecutionTreeNode currentNode)
-
iterator
public java.util.Iterator<ExecutionTreeNode> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<ExecutionTreeNode>
-
bfsIterator
public ExecutionTreeBfsIterator bfsIterator()
-
leafsFirstIterator
public ExecutionTreeBfsIterator leafsFirstIterator()
Uses anExecutionTreeBfsIterator, but returns the leafs first (so flipped order of BFS)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-