Class DefaultTreeNodeNamingPolicy
java.lang.Object
org.apache.jmeter.gui.action.impl.DefaultTreeNodeNamingPolicy
- All Implemented Interfaces:
TreeNodeNamingPolicy
Default implementation of
TreeNodeNamingPolicy- Since:
- 3.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnameOnCreation(JMeterTreeNode node) voidrename(JMeterTreeNode parentNode, JMeterTreeNode childNode, int iterationIndex) Called by Apply Naming Policy popup menu on TransactionController nodes Rename childNode based on custom policyvoidresetState(JMeterTreeNode rootNode) Called within Apply Naming Policy popup menu on TransactionController nodes to init the naming process.
-
Field Details
-
TRANSACTION_CHILDREN_SEPARATOR
public static final char TRANSACTION_CHILDREN_SEPARATOR- See Also:
-
-
Constructor Details
-
DefaultTreeNodeNamingPolicy
public DefaultTreeNodeNamingPolicy()
-
-
Method Details
-
rename
Description copied from interface:TreeNodeNamingPolicyCalled by Apply Naming Policy popup menu on TransactionController nodes Rename childNode based on custom policy- Specified by:
renamein interfaceTreeNodeNamingPolicy- Parameters:
parentNode- Parent nodechildNode- Child nodeiterationIndex- index of child node- See Also:
-
resetState
Description copied from interface:TreeNodeNamingPolicyCalled within Apply Naming Policy popup menu on TransactionController nodes to init the naming process.- Specified by:
resetStatein interfaceTreeNodeNamingPolicy- Parameters:
rootNode-JMeterTreeNodeParent of nodes that will be renamed- See Also:
-
nameOnCreation
- Specified by:
nameOnCreationin interfaceTreeNodeNamingPolicy- Parameters:
node-JMeterTreeNodenode that has been added to JMeter Tree node
-