org.globus.cog.gridshell.commands
Class AbstractProgram
java.lang.Object
org.globus.cog.gridshell.commands.AbstractCommand
org.globus.cog.gridshell.commands.AbstractProgram
- All Implemented Interfaces:
- Command, Comparable, EventListener, Program, PropertyChangeListener, PropertyChangeNotifier, Runnable
- public abstract class AbstractProgram
- extends AbstractCommand
- implements Program
| Methods inherited from class org.globus.cog.gridshell.commands.AbstractCommand |
addPropertyChangeListener, addPropertyChangeListener, arrayToMap, compareTo, getIdentity, getParent, getResult, getScope, getStatus, init, removePropertyChangeListener, setResult, setStatusCode, setStatusCompleted, setStatusFailed, setStatusFailed, unsupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.cog.gridshell.interfaces.Command |
destroy, execute, getIdentity, getParent, getResult, getScope, getStatus, init, kill, resume, setStatusCode, suspend |
| Methods inherited from interface java.lang.Runnable |
run |
AbstractProgram
public AbstractProgram()
getCommands
public Collection getCommands()
- Description copied from interface:
Program
- Returns a collection of the commands submitted
- Specified by:
getCommands in interface Program
- Returns:
addCommand
public void addCommand(Command command)
- Description copied from interface:
Program
- Adds a command to the commands submitted to this program
- Specified by:
addCommand in interface Program
- Parameters:
command -
removeCommand
public void removeCommand(Command command)
- Description copied from interface:
Program
- Removes a command from the commands submitted to this program
- Specified by:
removeCommand in interface Program
- Parameters:
command -