public enum JobStateEnum extends Enum<JobStateEnum>
| Enum Constant and Description |
|---|
Aborted
Enumeration : Aborted
|
Closed
Enumeration : Closed
|
Failed
Enumeration : Failed
|
Open
Enumeration : Open
|
| Modifier and Type | Method and Description |
|---|---|
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 Open
public static final JobStateEnum Closed
public static final JobStateEnum Aborted
public static final JobStateEnum Failed
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 nullCopyright © 2015. All Rights Reserved.