org.globus.cog.gridshell.commands.gsh
Class Clear

java.lang.Object
  extended byorg.globus.cog.gridshell.commands.AbstractCommand
      extended byorg.globus.cog.gridshell.commands.AbstractShellCommand
          extended byorg.globus.cog.gridshell.commands.gsh.Clear
All Implemented Interfaces:
Command, Comparable, EventListener, PropertyChangeListener, PropertyChangeNotifier, Runnable

public class Clear
extends AbstractShellCommand


Field Summary
 
Fields inherited from class org.globus.cog.gridshell.commands.AbstractShellCommand
getopt
 
Fields inherited from class org.globus.cog.gridshell.commands.AbstractCommand
PROPERTY_STATUS_CODE
 
Constructor Summary
Clear()
           
 
Method Summary
 GetOpt createGetOpt(Scope scope)
          Returns the GetOpt object used to parse and validate this command
 Object destroy()
          Destroys this command - called after the command has been completed
 Object execute()
          Executes this command
 void propertyChange(PropertyChangeEvent arg0)
           
 
Methods inherited from class org.globus.cog.gridshell.commands.AbstractShellCommand
createAbstractShellCommand, getCredentials, getGetOpt, getGridShell, getGsh, init, kill, resume, run, suspend, toString
 
Methods inherited from class org.globus.cog.gridshell.commands.AbstractCommand
addPropertyChangeListener, addPropertyChangeListener, arrayToMap, compareTo, getIdentity, getParent, getResult, getScope, getStatus, removePropertyChangeListener, setResult, setStatusCode, setStatusCompleted, setStatusFailed, setStatusFailed, unsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Clear

public Clear()
Method Detail

execute

public Object execute()
               throws Exception
Description copied from interface: Command
Executes this command

Returns:
Throws:
Exception

destroy

public Object destroy()
               throws Exception
Description copied from interface: Command
Destroys this command - called after the command has been completed

Returns:
Throws:
Exception

propertyChange

public void propertyChange(PropertyChangeEvent arg0)

createGetOpt

public GetOpt createGetOpt(Scope scope)
Description copied from class: AbstractShellCommand
Returns the GetOpt object used to parse and validate this command

Specified by:
createGetOpt in class AbstractShellCommand
Parameters:
scope -
Returns: