org.globus.cog.gridshell.commands.gsh
Class Group
java.lang.Object
org.globus.cog.gridshell.commands.AbstractCommand
org.globus.cog.gridshell.commands.AbstractShellCommand
org.globus.cog.gridshell.commands.gsh.Group
- All Implemented Interfaces:
- Command, Comparable, EventListener, PropertyChangeListener, PropertyChangeNotifier, Runnable
- public class Group
- extends AbstractShellCommand
|
Constructor Summary |
Group()
|
| 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 |
ACTION_DEFAULT
public static final transient String ACTION_DEFAULT
- See Also:
- Constant Field Values
ACTION_PRINT
public static final transient String ACTION_PRINT
- See Also:
- Constant Field Values
ACTION_ADD
public static final transient String ACTION_ADD
- See Also:
- Constant Field Values
ACTION_REMOVE
public static final transient String ACTION_REMOVE
- See Also:
- Constant Field Values
Group
public Group()
getGroups
public static Map getGroups()
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
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 evt)