public enum JobStatusCode extends java.lang.Enum<JobStatusCode>
Enum Constant and Description |
---|
Error |
NotInQueue |
Running |
Wait |
Modifier and Type | Method and Description |
---|---|
static JobStatusCode |
getFromString(java.lang.String str) |
java.lang.String |
toString() |
static JobStatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatusCode Error
public static final JobStatusCode NotInQueue
public static final JobStatusCode Wait
public static final JobStatusCode Running
public static JobStatusCode[] values()
for (JobStatusCode c : JobStatusCode.values()) System.out.println(c);
public static JobStatusCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<JobStatusCode>
public static JobStatusCode getFromString(java.lang.String str)