|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Job.Status>
org.proteios.core.Job.Status
public static enum Job.Status
The status of a job.
| Enum Constant Summary | |
|---|---|
ABORTED
The job was aborted. |
|
ABORTING
The job command was aborted but the job is executing. |
|
DONE
The job has finished successfully. |
|
ERROR
The job has finished with an error. |
|
EXECUTING
The job is executing. |
|
UNCONFIGURED
The job hasn't been configured yet. |
|
WAITING
The job is waiting to be started. |
|
| Method Summary | |
|---|---|
static Job.Status |
fromValue(int value)
Get the Job.Status object when you know the integer
code. |
int |
getValue()
Get the integer value that is used when storing a Job.Status to the database. |
String |
toString()
|
static Job.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Job.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Job.Status UNCONFIGURED
public static final Job.Status WAITING
public static final Job.Status EXECUTING
public static final Job.Status DONE
public static final Job.Status ERROR
public static final Job.Status ABORTING
public static final Job.Status ABORTED
| Method Detail |
|---|
public static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);
public static Job.Status valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static Job.Status fromValue(int value)
Job.Status object when you know the integer
code.
value - The integer value.
public String toString()
toString in class Enum<Job.Status>public int getValue()
Job.Status to the database.
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||