org.ourgrid.mygrid.ui.command
Class Starter

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

public class Starter
extends java.lang.Object
implements Command

The MyGrid main class. It can initialize all the environment by command line starting the necessary entities that manager the MyGrid operations.


Constructor Summary
Starter(UIManager manager)
           
 
Method Summary
 boolean configureEnvironment()
          Determines if this command needs to configure environment before being executed
 int run(java.lang.String[] params)
          Will verify if the environment is already alive and if not will start every necessary part of the MyGrid environment as: scheduler, grid machine provider, tasks executor, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Starter

public Starter(UIManager manager)
Method Detail

run

public int run(java.lang.String[] params)
Will verify if the environment is already alive and if not will start every necessary part of the MyGrid environment as: scheduler, grid machine provider, tasks executor, etc.

Specified by:
run in interface Command

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