org.ourgrid.mygrid.ui.command
Class Stopper

java.lang.Object
  extended by org.ourgrid.mygrid.ui.command.Stopper
All Implemented Interfaces:
Command

public class Stopper
extends java.lang.Object
implements Command

Description: This class is responsible to stop mygrid. This can be made by getting an instance from Stopper and using its API or through mygrid stop script.

Version:
1.0 Created on 03/08/2004

Constructor Summary
Stopper(UIManager manager)
           
 
Method Summary
 boolean configureEnvironment()
          Determines if this command needs to configure environment before being executed
 int run(java.lang.String[] params)
          Executes the main function of the command that implements this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stopper

public Stopper(UIManager manager)
Method Detail

run

public int run(java.lang.String[] params)
Description copied from interface: Command
Executes the main function of the command that implements this.

Specified by:
run in interface Command
See Also:
Command.run(java.lang.String[])

configureEnvironment

public boolean configureEnvironment()
Description copied from interface: Command
Determines if this command needs to configure environment before being executed

Specified by:
configureEnvironment in interface Command
Returns:
true if this command needs to configure environment before. False, otherwise.
See Also:
Command.configureEnvironment()