public enum JobStateEnum extends Enum<JobStateEnum>
| Enum Constant and Description |
|---|
ABORTED |
CANCELED |
COMPLETED |
PENDING |
PENDING_HELD |
PROCESSING |
PROCESSING_STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static JobStateEnum |
fromString(String value) |
String |
getText() |
String |
toString() |
static JobStateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStateEnum PENDING
public static final JobStateEnum PENDING_HELD
public static final JobStateEnum PROCESSING
public static final JobStateEnum PROCESSING_STOPPED
public static final JobStateEnum CANCELED
public static final JobStateEnum ABORTED
public static final JobStateEnum COMPLETED
public static JobStateEnum[] values()
for (JobStateEnum c : JobStateEnum.values()) System.out.println(c);
public static JobStateEnum 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 String toString()
toString in class Enum<JobStateEnum>public String getText()
public static JobStateEnum fromString(String value)
Copyright © 2016. All rights reserved.