|
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.Type>
org.proteios.core.Job.Type
public static enum Job.Type
The type of job.
| Enum Constant Summary | |
|---|---|
OTHER
The job is executed by some other program. |
|
RUN_PLUGIN
The job is executed by a plugin. |
|
| Method Summary | |
|---|---|
static Job.Type |
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.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Job.Type[] |
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.Type RUN_PLUGIN
public static final Job.Type OTHER
| Method Detail |
|---|
public static Job.Type[] values()
for (Job.Type c : Job.Type.values()) System.out.println(c);
public static Job.Type 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.Type fromValue(int value)
Job.Status object when you know the integer
code.
value - The integer value.
public String toString()
toString in class Enum<Job.Type>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 | |||||||||