|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.engine.TreeCloner
public class TreeCloner
Clones the test tree, skipping test elements that implement NoThreadClone
by default.
Constructor Summary | |
---|---|
TreeCloner()
Clone the test tree, honouring NoThreadClone markers. |
|
TreeCloner(boolean honourNoThreadClone)
Clone the test tree. |
Method Summary | |
---|---|
void |
addNode(Object node,
HashTree subTree)
The tree traverses itself depth-first, calling addNode for each object it encounters as it goes. |
protected Object |
addNodeToTree(Object node)
|
ListedHashTree |
getClonedTree()
|
void |
processPath()
Process path is called when a leaf is reached. |
void |
subtractNode()
Indicates traversal has moved up a step, and the visitor should remove the top node from its stack structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeCloner()
public TreeCloner(boolean honourNoThreadClone)
honourNoThreadClone
- set false to clone NoThreadClone nodes as wellMethod Detail |
---|
public final void addNode(Object node, HashTree subTree)
HashTreeTraverser
addNode
in interface HashTreeTraverser
node
- subTree
- HashTree
protected Object addNodeToTree(Object node)
node
- Node to add to tree or not
public void subtractNode()
HashTreeTraverser
subtractNode
in interface HashTreeTraverser
public ListedHashTree getClonedTree()
public void processPath()
HashTreeTraverser
HashTreeTraverser.subtractNode()
call. This is a callback method, and should
not be called except by a HashTree during traversal.
processPath
in interface HashTreeTraverser
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |