Package org.apache.jmeter.gui.action
Class CheckDirty
java.lang.Object
org.apache.jmeter.gui.action.AbstractAction
org.apache.jmeter.gui.action.CheckDirty
- All Implemented Interfaces:
- ActionListener,- EventListener,- Command,- HashTreeTraverser
@AutoService(Command.class)
public class CheckDirty
extends AbstractAction
implements HashTreeTraverser, ActionListener
Check if the TestPlan has been changed since it was last saved
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidThe tree traverses itself depth-first, calling addNode for each object it encounters as it goes.voidvoidProcess path is called when a leaf is reached.voidIndicates traversal has moved up a step, and the visitor should remove the top node from it's stack structure.Methods inherited from class org.apache.jmeter.gui.action.AbstractActiongetParentFrame, popupCheckExistingFileListener, popupShouldSave
- 
Constructor Details- 
CheckDirtypublic CheckDirty()
 
- 
- 
Method Details- 
actionPerformed- Specified by:
- actionPerformedin interface- ActionListener
 
- 
doAction- Specified by:
- doActionin interface- Command
- Overrides:
- doActionin class- AbstractAction
- See Also:
 
- 
addNodeThe tree traverses itself depth-first, calling addNode for each object it encounters as it goes.- Specified by:
- addNodein interface- HashTreeTraverser
- Parameters:
- node- the node currently encountered
- subTree- the HashTree under the node encountered
 
- 
subtractNodepublic void subtractNode()Indicates traversal has moved up a step, and the visitor should remove the top node from it's stack structure.- Specified by:
- subtractNodein interface- HashTreeTraverser
 
- 
processPathpublic 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.- Specified by:
- processPathin interface- HashTreeTraverser
 
- 
getActionNames- Specified by:
- getActionNamesin interface- Command
- See Also:
 
 
-