org.ourgrid.mygrid.ui.command
Interface Command

All Known Implementing Classes:
CommandManagerTest, EnvironmentConfigurator, GridSetter, GUIStarter, JobAdder, JobCanceller, JobCleaner, JobExpecter, Starter, Status, Stopper

public interface Command

Interface created to implements Command Pattern to simplify MyGrid commands treatment.


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.
 

Method Detail

run

int run(java.lang.String[] params)
Executes the main function of the command that implements this.


configureEnvironment

boolean configureEnvironment()
Determines if this command needs to configure environment before being executed

Returns:
true if this command needs to configure environment before. False, otherwise.