org.globus.cog.gridshell.commands
Class AbstractShellProgram

java.lang.Object
  extended byorg.globus.cog.gridshell.commands.AbstractCommand
      extended byorg.globus.cog.gridshell.commands.AbstractShellCommand
          extended byorg.globus.cog.gridshell.commands.AbstractShellProgram
All Implemented Interfaces:
Command, Comparable, EventListener, PropertyChangeListener, PropertyChangeNotifier, Runnable
Direct Known Subclasses:
Gsh

public abstract class AbstractShellProgram
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
AbstractShellProgram()
           
 
Method Summary
 void addCommand(Command command)
           
 Collection getCommands()
           
 void removeCommand(Command command)
           
 
Methods inherited from class org.globus.cog.gridshell.commands.AbstractShellCommand
createAbstractShellCommand, createGetOpt, 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
 
Methods inherited from interface org.globus.cog.gridshell.interfaces.Command
destroy, execute
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Constructor Detail

AbstractShellProgram

public AbstractShellProgram()
Method Detail

getCommands

public Collection getCommands()

addCommand

public void addCommand(Command command)

removeCommand

public void removeCommand(Command command)