|
dLife Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdlife.tools.xgrid.XgridResult
public class XgridResult
The results from the submission of an XgridCommand to the Xgrid. The results include information about the times at which the job was submitted, started and finished, the job status, as well as the command that was run and the results that were returned.
| Constructor Summary | |
|---|---|
XgridResult(String sub,
String start,
String end,
String ret,
String status,
String id,
String result,
XgridCommand cmd)
Construct a new XgridResult with all of the specified values for the fields. |
|
XgridResult(String jobId,
String attr,
String result,
XgridCommand cmd)
Build a new XgridResult based on the string of attributes returned from the xgrid in conjunction with the job results and its command. |
|
| Method Summary | |
|---|---|
XgridCommand |
getCommand()
Get the XgridCommand object for the job. |
String |
getDateCompleted()
Get the date and time at which the job completed its execution. |
String |
getDateRetrieved()
Get the date and time at which the job results were retrieved from the xGrid. |
String |
getDateStarted()
Get the date and time at which the job started executing on the xGrid. |
String |
getDateSubmitted()
Get the date and time at which the job was submitted to the xGrid. |
String |
getJobId()
Get the identifier assigned to the job by the xGrid controller. |
String |
getJobStatus()
Get the status of the job. |
String |
getResult()
Get the results of the job. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XgridResult(String sub,
String start,
String end,
String ret,
String status,
String id,
String result,
XgridCommand cmd)
sub - the date and time that the job was submitted.start - the date and time that the job was started.end - the date and time that the job completed.ret - the date and time that the job was retrieved from the xgrid.status - the status of the job.id - the id assigned to the job by the xGrid.result - the portion of the job's results that were written to
stdout and/or stderr if they were not redirected to a file.cmd - the XgridCommand that was used when issuing the job.
public XgridResult(String jobId,
String attr,
String result,
XgridCommand cmd)
jobId - the job id assigned to the job by xGrid.attr - the string of attributes returned from a request to the xGrid
for a job's attributes.result - the result obtained when the job was run.cmd - the command for the job.| Method Detail |
|---|
public String getJobId()
public String getDateSubmitted()
public String getDateStarted()
public String getDateCompleted()
public String getDateRetrieved()
public String getJobStatus()
public String getResult()
public XgridCommand getCommand()
|
dLife Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||