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 TypeMethodDescriptionvoid
nameOnCreation
(JMeterTreeNode node) void
rename
(JMeterTreeNode parentNode, JMeterTreeNode childNode, int index) Called by Apply Naming Policy popup menu on TransactionController nodes Rename childNode based on custom policyvoid
resetState
(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
-JMeterTreeNode
Parent of nodes that will be renamed
-
nameOnCreation
- Parameters:
node
-JMeterTreeNode
node that has been added to JMeter Tree node
-