|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<QueueTaskProcessStatus> lumis.portal.processqueue.QueueTaskProcessStatus
public enum QueueTaskProcessStatus
Represents the current status of a queue item.
Enum Constant Summary | |
---|---|
Failed
Status in which the process has been executed but a problem occurred during process. |
|
Queued
Status in which the item should be executed as soon as possible. |
|
Running
Status in which the item is already being executed. |
|
Scheduled
Status in which the item has been scheduled to run in the future. |
Method Summary | |
---|---|
static QueueTaskProcessStatus |
fromValue(int value)
Discovers the adequate status based on the value passed. |
int |
value()
Returns the integer that represents the current status. |
static QueueTaskProcessStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QueueTaskProcessStatus[] |
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 QueueTaskProcessStatus Scheduled
public static final QueueTaskProcessStatus Queued
public static final QueueTaskProcessStatus Running
public static final QueueTaskProcessStatus Failed
Method Detail |
---|
public static QueueTaskProcessStatus[] values()
for (QueueTaskProcessStatus c : QueueTaskProcessStatus.values()) System.out.println(c);
public static QueueTaskProcessStatus 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 value()
public static QueueTaskProcessStatus fromValue(int value)
value
- of the status
IllegalArgumentException
- when the value does not correspond to a QueueTaskProcessStatus
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |