public enum JobFinishedReason extends java.lang.Enum<JobFinishedReason>
Enum Constant and Description |
---|
FAILED_TO_INIT
The job failed during the initialization phase.
|
INVALID
The job request was invalid.
|
KILLED
The job was killed.
|
PROCESS_COMPLETED
The jobs process completed either sucessfully or unsuccessfully.
|
SYSTEM_CRASH
System crash during initialization.
|
Modifier and Type | Method and Description |
---|---|
static JobFinishedReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobFinishedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobFinishedReason KILLED
public static final JobFinishedReason INVALID
public static final JobFinishedReason FAILED_TO_INIT
public static final JobFinishedReason PROCESS_COMPLETED
public static final JobFinishedReason SYSTEM_CRASH
public static JobFinishedReason[] values()
for (JobFinishedReason c : JobFinishedReason.values()) System.out.println(c);
public static JobFinishedReason 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 null