public enum QueueTaskProcessStatus extends Enum<QueueTaskProcessStatus>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final QueueTaskProcessStatus Scheduled
public static final QueueTaskProcessStatus Queued
public static final QueueTaskProcessStatus Running
public static final QueueTaskProcessStatus Failed
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 nameNullPointerException
- if the argument is nullpublic int value()
public static QueueTaskProcessStatus fromValue(int value)
value
- of the statusIllegalArgumentException
- when the value does not correspond to a QueueTaskProcessStatus
.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.