|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridJobStatus
This interface defines some informational fields related to the status of jobs in the Grid.
| Field Summary | |
|---|---|
static int |
_ALL
Shortcut for all known statuses. |
static int |
ABORTED
Status of the job which was finished unsuccessfully |
static int |
DONE
Status of the job which was finished successfully |
static int |
PURGED
Status of the job for which status information is no longer available. e.g. |
static int |
RUNNING
Status of the job which is actually running |
static int |
SUBMITTED
Status of the job which was submitted and is not scheduled by RB yet. |
static int |
UNDEF
Status of the job cannot be determined. |
static int |
UNKNOWN
Status for job which real status cannot be retrieved now |
static int |
WAITING
Status of the job which was scheduled by RB and is sent to its destination, but computation was not started yet. |
| Method Summary | |
|---|---|
boolean |
canChange()
Return true if the status of the job can be changed in the future yet. |
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. |
boolean |
isSuccessful()
Return true if the job was finished successfully. |
| Field Detail |
|---|
static final int SUBMITTED
static final int WAITING
static final int RUNNING
static final int DONE
static final int ABORTED
static final int PURGED
static final int UNDEF
Status of the job cannot be determined.
The difference between UNDEF and UNKNOWN is that UNKNOWN is a temporary state (e.g. because some network problem) and UNDEF is more permanent state (e.g. status cannot be retrieved because there is no access to status service like no appropriate plugin is available) Job with status UNKNOWN will be queried again during the session, job wit status UNDEF will not. UNDEF job existing in the workspace will be queried for update when gEclipse starts
static final int UNKNOWN
static final int _ALL
| Method Detail |
|---|
boolean canChange()
Return 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
boolean isSuccessful()
Return true if the job was finished successfully. This method should be called only if method canChange() returns true.
For statuses which are not final the behaviour of is Successfull() method is undefined.
To check if job succeeded use method isSuccessfull()
java.lang.String getName()
int getType()
java.util.Date getLastUpdateTime()
java.lang.String getReason()
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||