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