public enum RunStatus extends Enum<RunStatus>
'ACCEPTED' indicates the task is queued to run but not yet running. 'RUNNING' indicates the task is running. 'CANCELING' indicates a request to cancel the task has occurred but the task is not yet canceled. 'CANCELED' indicates the task has been canceled. 'SUCCESS' indicates the task was successful. 'FAILURE' indicates the task failed.
Enum Constant and Description |
---|
ACCEPTED
Indicates the task is queued to run but not yet running.
|
CANCELED
Indicates the task has been cancelled.
|
CANCELING
Indicates a request to cancel the task has occurred but the task is not yet
canceled.
|
FAILURE
Indicates the task failed.
|
RUNNING
Indicates that the task is running.
|
SUCCESS
Indicates the task was successful.
|
Modifier and Type | Method and Description |
---|---|
static RunStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunStatus ACCEPTED
public static final RunStatus RUNNING
public static final RunStatus CANCELING
public static final RunStatus CANCELED
public static final RunStatus SUCCESS
public static final RunStatus FAILURE
public static RunStatus[] values()
for (RunStatus c : RunStatus.values()) System.out.println(c);
public static RunStatus 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 nullCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.