org.ourgrid.mygrid.ui.command
Class GridSetter

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

public class GridSetter
extends java.lang.Object
implements Command


Constructor Summary
GridSetter(UIManager manager)
           
 
Method Summary
 boolean configureEnvironment()
          Determines if this command needs to configure environment before being executed
static void printUsage()
          Print's this class command line usage.
 int run(java.lang.String[] params)
          Main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridSetter

public GridSetter(UIManager manager)
Method Detail

run

public int run(java.lang.String[] params)
Main method. This method should be called with a GridDescriptionFile as command line argument1

Specified by:
run in interface Command

printUsage

public static void printUsage()
Print's this class command line usage.


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()