|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<QueueStatus>
com.ace.moab.api.jobs.QueueStatus
public enum QueueStatus
This enumeration describes every queue status that a job state can belong to. A job state is
defined in the enum JobState.
| Enum Constant Summary | |
|---|---|
ACTIVE
A job is actively running in a queue. |
|
BLOCKED
A job has been blocked because of policy violation or resource requirements cannot be met. |
|
COMPLETED
A job has completed running. |
|
ELIGIBLE
A job is eligible to run, but has not started yet. |
|
UNKNOWN
A job's state type is unknown.s |
|
| Method Summary | |
|---|---|
static QueueStatus |
parseString(java.lang.String string)
Parse a string and converts it into a corresponding QueueStatus enum value. |
java.lang.String |
toString()
|
static QueueStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QueueStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final QueueStatus ACTIVE
public static final QueueStatus BLOCKED
public static final QueueStatus COMPLETED
public static final QueueStatus ELIGIBLE
public static final QueueStatus UNKNOWN
| Method Detail |
|---|
public static final QueueStatus[] values()
for(QueueStatus c : QueueStatus.values())
System.out.println(c);
public static QueueStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<QueueStatus>
public static QueueStatus parseString(java.lang.String string)
throws java.text.ParseException
string - the string to parse.
java.text.ParseException - thrown if the String does not match any QueueStatus value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||