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