|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.ui.command.JobAdder
public class JobAdder
Description: This class is responsible to add new jobs to the scheduler. This can be made by getting an instance from JobAdder and using its API or through mygrid addjob script. At both of them a job is readed from the given file and passed to MyGrid, that'll schedule the job's tasks. To describe a job the user must create a description file where the job attributes are explicited and each task is described. To obtaind a better description about how to write this file, read: //TODO:refer to the manual!!!!
Constructor Summary | |
---|---|
JobAdder(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 |
---|
public JobAdder(UIManager manager)
Method Detail |
---|
public int run(java.lang.String[] params)
run
in interface Command
public static void printUsage()
public boolean configureEnvironment()
Command
configureEnvironment
in interface Command
Command.configureEnvironment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |