|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.ui.command.JobExpecter
public class JobExpecter
Description: This class is responsible to wait for the end of a currently submitted job. Calls to this class can be made by getting an instance from JobExpecter and using its API or through mygrid waitforjob script. At both of them the method only return when the specified \ job has ended it's execution.
Constructor Summary | |
---|---|
JobExpecter(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. |
void |
waitForJob(int jobId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobExpecter(UIManager manager)
Method Detail |
---|
public int run(java.lang.String[] params)
run
in interface Command
params
- Job Idpublic static void printUsage()
public boolean configureEnvironment()
Command
configureEnvironment
in interface Command
Command.configureEnvironment()
public void waitForJob(int jobId) throws java.rmi.RemoteException, JobNotFoundException
java.rmi.RemoteException
JobNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |