org.globus.cog.gridshell.commands.gsh
Class Clear
java.lang.Object
org.globus.cog.gridshell.commands.AbstractCommand
org.globus.cog.gridshell.commands.AbstractShellCommand
org.globus.cog.gridshell.commands.gsh.Clear
- All Implemented Interfaces:
- Command, Comparable, EventListener, PropertyChangeListener, PropertyChangeNotifier, Runnable
- public class Clear
- extends AbstractShellCommand
|
Constructor Summary |
Clear()
|
| 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 |
Clear
public Clear()
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: