org.ourgrid.mygrid.ui.command
Class JobCleaner

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

public class JobCleaner
extends java.lang.Object
implements Command


Constructor Summary
JobCleaner(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

JobCleaner

public JobCleaner(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

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.