Package org.apache.jmeter.gui.action
Interface TreeNodeNamingPolicy
- All Known Implementing Classes:
DefaultTreeNodeNamingPolicy
public interface TreeNodeNamingPolicy
Naming policy applied to JMeter Tree nodes :
- on creation through
nameOnCreation(JMeterTreeNode) - By applying naming policy on Controller child nodes through
resetState(JMeterTreeNode)andrename(JMeterTreeNode, JMeterTreeNode, int)
- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidnameOnCreation(JMeterTreeNode node) voidrename(JMeterTreeNode parentNode, JMeterTreeNode childNode, int index) Called by Apply Naming Policy popup menu on TransactionController nodes Rename childNode based on custom policyvoidresetState(JMeterTreeNode parentNode) Called within Apply Naming Policy popup menu on TransactionController nodes to init the naming process.
-
Method Details
-
rename
Called by Apply Naming Policy popup menu on TransactionController nodes Rename childNode based on custom policy- Parameters:
parentNode- Parent nodechildNode- Child nodeindex- index of child node
-
resetState
Called within Apply Naming Policy popup menu on TransactionController nodes to init the naming process.- Parameters:
parentNode-JMeterTreeNodeParent of nodes that will be renamed
-
nameOnCreation
- Parameters:
node-JMeterTreeNodenode that has been added to JMeter Tree node
-