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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 policyvoid
resetState
(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:TreeNodeNamingPolicy
Called by Apply Naming Policy popup menu on TransactionController nodes Rename childNode based on custom policy- Specified by:
rename
in interfaceTreeNodeNamingPolicy
- Parameters:
parentNode
- Parent nodechildNode
- Child nodeiterationIndex
- index of child node- See Also:
-
resetState
Description copied from interface:TreeNodeNamingPolicy
Called within Apply Naming Policy popup menu on TransactionController nodes to init the naming process.- Specified by:
resetState
in interfaceTreeNodeNamingPolicy
- Parameters:
rootNode
-JMeterTreeNode
Parent of nodes that will be renamed- See Also:
-
nameOnCreation
- Specified by:
nameOnCreation
in interfaceTreeNodeNamingPolicy
- Parameters:
node
-JMeterTreeNode
node that has been added to JMeter Tree node
-