public static enum Job.StatusEnum extends Enum<Job.StatusEnum>
| Enum Constant and Description |
|---|
ABORTED |
CANCELED |
COMPLETED |
FAILED |
RUNNING |
| Modifier and Type | Method and Description |
|---|---|
static Job.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Job.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.StatusEnum RUNNING
public static final Job.StatusEnum ABORTED
public static final Job.StatusEnum CANCELED
public static final Job.StatusEnum COMPLETED
public static final Job.StatusEnum FAILED
public static Job.StatusEnum[] values()
for (Job.StatusEnum c : Job.StatusEnum.values()) System.out.println(c);
public static Job.StatusEnum 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 © 2016–2018. All rights reserved.