public enum SplusStatus extends java.lang.Enum<SplusStatus> implements java.io.Serializable
Enum Constant and Description |
---|
Done
The job has finished running.
|
DoneWithError
The job has finished and there is an error.
|
Failed
A failure caused the job run to stop.
|
Interrupted
The job was interrupted while running.
|
Running
The job is currently running.
|
Scheduled
The job is scheduled to be executed later.
|
SessionScheduled
The job is scheduled for execution in a given session.
|
Waiting
The job is either scheduled to be run in the future, or waiting in queue
for an available engine.
|
Modifier and Type | Field and Description |
---|---|
static int |
DONE_VALUE
The request has completed running..
|
static int |
DONE_WITH_ERROR_VALUE
The request has completed running..
|
static int |
FAILED_VALUE
The request failed to run.
|
static int |
INTERRUPTED_VALUE
The request was interrupted.
|
static int |
RUNNING_VALUE
The request is currently running.
|
static int |
SCHEDULED_VALUE
The request is scheduled to be executed later.
|
static int |
SESSION_SCHEDULED_VALUE
The request is scheduled for execution in a given session.
|
static int |
UNSPECIFIED_VALUE
The request was unspecified.
|
static int |
WAITING_VALUE
The request is waiting for an engine or is scheduled to run.
|
Modifier and Type | Method and Description |
---|---|
static SplusStatus |
getEnum(java.lang.String name) |
boolean |
isFinal() |
static boolean |
isFinalStatus(int status) |
java.lang.String |
toString() |
static SplusStatus |
valueOf(int value)
Converts to SplusStatus value.
|
static SplusStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SplusStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplusStatus Interrupted
public static final SplusStatus Failed
public static final SplusStatus Waiting
public static final SplusStatus Running
public static final SplusStatus Done
public static final SplusStatus DoneWithError
public static final SplusStatus Scheduled
public static final SplusStatus SessionScheduled
public static final int UNSPECIFIED_VALUE
public static final int INTERRUPTED_VALUE
public static final int FAILED_VALUE
public static final int WAITING_VALUE
public static final int RUNNING_VALUE
public static final int DONE_VALUE
public static final int DONE_WITH_ERROR_VALUE
public static final int SCHEDULED_VALUE
public static final int SESSION_SCHEDULED_VALUE
public static SplusStatus[] values()
for (SplusStatus c : SplusStatus.values()) System.out.println(c);
public static SplusStatus 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<SplusStatus>
public static SplusStatus getEnum(java.lang.String name)
public static SplusStatus valueOf(int value)
value
- The integer status value.public static boolean isFinalStatus(int status)
public boolean isFinal()