|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.jobs.GridJobStatus
public class GridJobStatus
| Field Summary | |
|---|---|
static GridJobStatus |
UNKNOWN_STATUS
|
static java.lang.String |
XML_ATTRIBUTE_CLASS
|
static java.lang.String |
XML_ROOT
|
static java.lang.String |
XML_STATUSDATA
|
static java.lang.String |
XML_STATUSNAME
|
static java.lang.String |
XML_STATUSREASON
|
static java.lang.String |
XML_STATUSTYPE
|
static java.lang.String |
XML_STATUSUPDATEDATE
|
| Fields inherited from interface eu.geclipse.core.model.IGridJobStatus |
|---|
_ALL, ABORTED, DONE, PURGED, RUNNING, SUBMITTED, UNDEF, UNKNOWN, WAITING |
| Constructor Summary | |
|---|---|
GridJobStatus()
|
|
GridJobStatus(org.w3c.dom.Node statusNode)
|
|
GridJobStatus(java.lang.String name,
int type)
|
|
| Method Summary | |
|---|---|
boolean |
canChange()
Return true if the status of the job can be changed in the future yet. |
java.lang.String |
getJobStatusData()
|
java.util.Date |
getLastUpdateTime()
Returns the date of last status update. |
java.lang.String |
getName()
Returns the name of the status. |
java.lang.String |
getReason()
Return the explanation why the job is in the specific state. |
int |
getType()
Returns the type of the status. |
java.lang.String |
getXML()
|
boolean |
isSuccessful()
Default behaviour. |
void |
setXMLNode(org.w3c.dom.Node statusNode)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XML_ROOT
public static final java.lang.String XML_STATUSNAME
public static final java.lang.String XML_STATUSTYPE
public static final java.lang.String XML_STATUSREASON
public static final java.lang.String XML_STATUSDATA
public static final java.lang.String XML_STATUSUPDATEDATE
public static final java.lang.String XML_ATTRIBUTE_CLASS
public static final GridJobStatus UNKNOWN_STATUS
| Constructor Detail |
|---|
public GridJobStatus()
public GridJobStatus(java.lang.String name,
int type)
public GridJobStatus(org.w3c.dom.Node statusNode)
throws ProblemException
ProblemException| Method Detail |
|---|
public void setXMLNode(org.w3c.dom.Node statusNode)
throws ProblemException
ProblemExceptionpublic boolean canChange()
IGridJobStatusReturn true if the status of the job can be changed in the future yet. Return false if status if final (e.g. Aborted, Done, Failed)
To check if job succeeded use method isSuccessfull
canChange in interface IGridJobStatuspublic boolean isSuccessful()
isSuccessful in interface IGridJobStatuspublic java.lang.String getJobStatusData()
public final java.lang.String getXML()
public java.lang.String getName()
IGridJobStatus
getName in interface IGridJobStatuspublic int getType()
IGridJobStatus
getType in interface IGridJobStatuspublic java.lang.String getReason()
IGridJobStatus
getReason in interface IGridJobStatuspublic java.util.Date getLastUpdateTime()
IGridJobStatus
getLastUpdateTime in interface IGridJobStatus
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||