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

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

public class Help
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
Help()
           
 
Method Summary
 Object allCommands()
           
 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
static String getOptToString(GetOpt getopt)
           
 void propertyChange(PropertyChangeEvent arg0)
           
 Object singleCommand()
           
 
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

Help

public Help()
Method Detail

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:

execute

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

Returns:
Throws:
Exception

singleCommand

public Object singleCommand()
                     throws Exception
Throws:
Exception

getOptToString

public static String getOptToString(GetOpt getopt)

allCommands

public Object allCommands()
                   throws Exception
Throws:
Exception

propertyChange

public void propertyChange(PropertyChangeEvent arg0)

destroy

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

Returns:
Throws:
Exception