Package org.apache.jmeter.gui.action
Class CheckDirty
-
- All Implemented Interfaces:
-
java.awt.event.ActionListener
,java.util.EventListener
,org.apache.jmeter.gui.action.Command
,org.apache.jorphan.collections.HashTreeTraverser
@AutoService(value = Command.class) public class CheckDirty extends AbstractAction implements HashTreeTraverser, ActionListener
Check if the TestPlan has been changed since it was last saved
-
-
Constructor Summary
Constructors Constructor Description CheckDirty()
-
Method Summary
Modifier and Type Method Description void
actionPerformed(ActionEvent e)
void
doAction(ActionEvent e)
void
addNode(Object node, HashTree subTree)
The tree traverses itself depth-first, calling addNode for each object it encounters as it goes. void
subtractNode()
Indicates traversal has moved up a step, and the visitor should remove the top node from it's stack structure. void
processPath()
Process path is called when a leaf is reached. Set<String>
getActionNames()
-
-
Method Detail
-
actionPerformed
void actionPerformed(ActionEvent e)
-
doAction
void doAction(ActionEvent e)
-
addNode
void addNode(Object node, HashTree subTree)
The tree traverses itself depth-first, calling addNode for each object it encounters as it goes.
-
subtractNode
void subtractNode()
Indicates traversal has moved up a step, and the visitor should remove the top node from it's stack structure.
-
processPath
void processPath()
Process path is called when a leaf is reached. If a visitor wishes to generate Lists of path elements to each leaf, it should keep a Stack data structure of nodes passed to it with addNode, and removing top items for every subtractNode() call.
-
getActionNames
Set<String> getActionNames()
-
-
-
-