Apache JMeter

org.apache.jmeter.gui.action
Class UndoCommand

java.lang.Object
  extended by org.apache.jmeter.gui.action.UndoCommand
All Implemented Interfaces:
Command

public class UndoCommand
extends Object
implements Command

Menu command to serve Undo/Redo

Since:
2.12

Constructor Summary
UndoCommand()
           
 
Method Summary
static HashTree convertAndCloneSubTree(HashTree tree)
          wrapper to use package-visible method and clone tree for saving
 void doAction(ActionEvent e)
           
 Set<String> getActionNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoCommand

public UndoCommand()
Method Detail

doAction

public void doAction(ActionEvent e)
              throws IllegalUserActionException
Specified by:
doAction in interface Command
Throws:
IllegalUserActionException

getActionNames

public Set<String> getActionNames()
Specified by:
getActionNames in interface Command
Returns:
Set of all action names

convertAndCloneSubTree

public static HashTree convertAndCloneSubTree(HashTree tree)
wrapper to use package-visible method and clone tree for saving

Parameters:
tree - to be converted and cloned
Returns:
converted and cloned tree

Apache JMeter

Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.