|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectMiG.oneclick.Job
public abstract class Job
This class provides the framework needed to create a MiGOneClick job.
| Constructor Summary | |
|---|---|
protected |
Job()
|
| Method Summary | |
|---|---|
protected boolean |
checkpoint()
Used for creating a new checkpoint |
protected void |
err(java.lang.String str)
Used for writing to the MiG job stderr. |
int |
getCheckpointID()
Used to get the checkpoint counter. |
protected java.lang.String |
getIOsessionid()
Used for retrieving the MiG iosessionid |
protected java.lang.String |
getJobid()
Used for retrieving the id of the job |
java.lang.StringBuffer |
getStderr()
Used to get the MiG job stderr. |
java.lang.StringBuffer |
getStdout()
Used to get the MiG job stdout. |
abstract void |
MiG_main(java.lang.String[] argv)
The main method of the MiGOneClick job. |
protected File |
open_file(java.lang.String filename,
int mode)
Used for retrieving a File object, containing information required to perform file I/O. |
protected void |
out(java.lang.String str)
Used for writing to the MiG job stdout. |
boolean |
restoreCheckpointedFiles()
Used for restoring files from checkpoint |
void |
setInfo(java.lang.String server,
java.lang.String iosessionid,
java.lang.String jobid)
Used for setting the information about the job, this is set by the executing framework, and should not be altered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Job()
| Method Detail |
|---|
public abstract void MiG_main(java.lang.String[] argv)
argv - Array of arguments given to the MiGOneClick job.protected boolean checkpoint()
public boolean restoreCheckpointedFiles()
public int getCheckpointID()
protected void err(java.lang.String str)
str - String containing the stderr message.protected void out(java.lang.String str)
str - String containing the stdout message.
protected File open_file(java.lang.String filename,
int mode)
throws FileException
File object, containing information required to perform file I/O.
File containing the MiG server URL and job iosessionid needed to perform the file I/O.
FileException
public void setInfo(java.lang.String server,
java.lang.String iosessionid,
java.lang.String jobid)
server - String containing the MiG server URL.iosessionid - String containing the MiG iosessionid of the job.protected java.lang.String getJobid()
protected java.lang.String getIOsessionid()
public java.lang.StringBuffer getStderr()
public java.lang.StringBuffer getStdout()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||