|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IJobStatus.Status> org.jmythapi.database.IJobStatus.Status
public static enum IJobStatus.Status
Enum Constant Summary | |
---|---|
ABORTED
Aborted. |
|
ABORTING
Aborting. |
|
CANCELLED
Cancelled. |
|
DONE
Done (Invalid status). |
|
ERRORED
Errored. |
|
ERRORING
Erroring. |
|
FINISHED
Finished. |
|
PAUSED
Paused. |
|
PENDING
Pending. |
|
QUEUED
Queued. |
|
RETRY
Retrying. |
|
RUNNING
Running. |
|
STARTING
Starting. |
|
STOPPING
Stopping. |
|
UNKNOWN
Unknown. |
Method Summary | |
---|---|
int |
getPosition()
|
static IJobStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IJobStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IJobStatus.Status UNKNOWN
public static final IJobStatus.Status QUEUED
public static final IJobStatus.Status PENDING
public static final IJobStatus.Status STARTING
public static final IJobStatus.Status RUNNING
public static final IJobStatus.Status STOPPING
public static final IJobStatus.Status PAUSED
public static final IJobStatus.Status RETRY
public static final IJobStatus.Status ERRORING
public static final IJobStatus.Status ABORTING
public static final IJobStatus.Status DONE
JOB_DONE is a mask to indicate the job is done no matter what the is.
public static final IJobStatus.Status FINISHED
public static final IJobStatus.Status ABORTED
public static final IJobStatus.Status ERRORED
public static final IJobStatus.Status CANCELLED
Method Detail |
---|
public static IJobStatus.Status[] values()
for (IJobStatus.Status c : IJobStatus.Status.values()) System.out.println(c);
public static IJobStatus.Status valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getPosition()
getPosition
in interface IPositionalValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |