|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.icenigrid.gridsam.core.JobState
public class JobState
Enumeration class representing Job States
Field Summary | |
---|---|
static JobState |
ACTIVE
The job has received resource, and the application is executing |
static JobState |
DONE
The job has completed successfully |
static JobState |
EXECUTED
The job has been executed (i.e. |
static JobState |
FAILED
The job terminated before completion because of an error, user-triggered cancel, or system-triggered cancel |
static JobState |
PENDING
The job is waiting for resource to become available in order to run |
static JobState |
STAGED_IN
The job's data have been staged into the job execution environment |
static JobState |
STAGED_OUT
The job's data have been staged out from the job execution environment |
static JobState |
STAGING_IN
The job's data are staging into the job execution environment |
static JobState |
STAGING_OUT
The job's data are staging out from the job execution environment |
static JobState |
TERMINATED
The job has been terminated by user |
static JobState |
TERMINATING
The job is being terminated by user |
static JobState |
UNDEFINED
The job state is undefined |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
equality check |
java.util.List |
getPossibleNextState()
get a list of JobState this state can advance to |
int |
hashCode()
get the hashcode of this object |
boolean |
isTerminal()
test whether this state is a terminal state |
static JobState |
parse(java.lang.String pValue)
parse a state value into a JobState object |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final JobState PENDING
public static final JobState STAGING_IN
public static final JobState STAGED_IN
public static final JobState STAGING_OUT
public static final JobState STAGED_OUT
public static final JobState ACTIVE
public static final JobState EXECUTED
public static final JobState FAILED
public static final JobState DONE
public static final JobState TERMINATING
public static final JobState TERMINATED
public static final JobState UNDEFINED
Method Detail |
---|
public java.util.List getPossibleNextState()
public boolean isTerminal()
public static final JobState parse(java.lang.String pValue)
pValue
- state value
java.lang.IllegalArgumentException
- if pValue is not a known state identifierpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object to test with
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
method returns a string that "textually
represents" this object. The result should be a concise but informative
representation that is easy for a person to read. It is recommended that
all subclasses override this method. The toString
method for class Object
returns a string consisting of the
name of the class of which the object is an instance, the at-sign
character `@
', and the unsigned hexadecimal
representation of the hash code of the object. In other words, this
method returns a string equal to the value of: getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |