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

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

public class Group
extends AbstractShellCommand


Nested Class Summary
static class Group.GroupContainer
           
static class Group.GroupItem
           
 
Field Summary
static String ACTION_ADD
           
static String ACTION_DEFAULT
           
static String ACTION_PRINT
           
static String ACTION_REMOVE
           
 
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
Group()
           
 
Method Summary
 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 Map getGroups()
           
 void propertyChange(PropertyChangeEvent evt)
           
 
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
 

Field Detail

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
Constructor Detail

Group

public Group()
Method Detail

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)