Package org.apache.jmeter.threads
Class FindTestElementsUpToRootTraverser
-
- All Implemented Interfaces:
-
org.apache.jorphan.collections.HashTreeTraverser
public class FindTestElementsUpToRootTraverser implements HashTreeTraverser
HashTreeTraverser implementation that stores in a Stack all the Test Elements on the path to a particular node.
-
-
Constructor Summary
Constructors Constructor Description FindTestElementsUpToRootTraverser(Object nodeToFind)
-
Method Summary
Modifier and Type Method Description void
addNode(Object node, HashTree subTree)
void
subtractNode()
void
processPath()
List<Controller>
getControllersToRoot()
Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root) -
-
Constructor Detail
-
FindTestElementsUpToRootTraverser
FindTestElementsUpToRootTraverser(Object nodeToFind)
- Parameters:
nodeToFind
- Node to find
-
-
Method Detail
-
subtractNode
void subtractNode()
-
processPath
void processPath()
-
getControllersToRoot
List<Controller> getControllersToRoot()
Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root)
- Returns:
List of Controller
-
-
-
-