public class DefaultTreeNodeNamingPolicy extends Object implements TreeNodeNamingPolicy
TreeNodeNamingPolicy
Modifier and Type | Field and Description |
---|---|
static char |
TRANSACTION_CHILDREN_SEPARATOR |
Constructor and Description |
---|
DefaultTreeNodeNamingPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
nameOnCreation(JMeterTreeNode node) |
void |
rename(JMeterTreeNode parentNode,
JMeterTreeNode childNode,
int iterationIndex)
Called by Apply Naming Policy popup menu on TransactionController nodes
Rename childNode based on custom policy
|
void |
resetState(JMeterTreeNode rootNode)
Called within Apply Naming Policy popup menu on TransactionController nodes to
init the naming process.
|
public static final char TRANSACTION_CHILDREN_SEPARATOR
public void rename(JMeterTreeNode parentNode, JMeterTreeNode childNode, int iterationIndex)
TreeNodeNamingPolicy
rename
in interface TreeNodeNamingPolicy
parentNode
- Parent nodechildNode
- Child nodeiterationIndex
- index of child nodeTreeNodeNamingPolicy.rename(org.apache.jmeter.gui.tree.JMeterTreeNode, org.apache.jmeter.gui.tree.JMeterTreeNode, int)
public void resetState(JMeterTreeNode rootNode)
TreeNodeNamingPolicy
resetState
in interface TreeNodeNamingPolicy
rootNode
- JMeterTreeNode
Parent of nodes that will be renamedTreeNodeNamingPolicy.resetState(org.apache.jmeter.gui.tree.JMeterTreeNode)
public void nameOnCreation(JMeterTreeNode node)
nameOnCreation
in interface TreeNodeNamingPolicy
node
- JMeterTreeNode
node that has been added to JMeter Tree nodeCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.