|
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<NotificationConfiguration.Mode>
org.proteios.io.NotificationConfiguration.Mode
public static enum NotificationConfiguration.Mode
The notification mode.
| Enum Constant Summary | |
|---|---|
ALL_JOBS_FINISHED
Notification after all jobs finished. |
|
EVERY_FINISHED_JOB
Notification after every finished job. |
|
NEVER
Notification never sent. |
|
| Method Summary | |
|---|---|
static NotificationConfiguration.Mode |
fromValue(int value)
Get the NotificationConfiguration.Mode object when you know the integer
code. |
int |
getValue()
Get the integer value that is used when storing a NotificationConfiguration.Mode to the database. |
String |
toString()
|
static NotificationConfiguration.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NotificationConfiguration.Mode[] |
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 NotificationConfiguration.Mode NEVER
public static final NotificationConfiguration.Mode EVERY_FINISHED_JOB
public static final NotificationConfiguration.Mode ALL_JOBS_FINISHED
| Method Detail |
|---|
public static NotificationConfiguration.Mode[] values()
for (NotificationConfiguration.Mode c : NotificationConfiguration.Mode.values()) System.out.println(c);
public static NotificationConfiguration.Mode 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 NotificationConfiguration.Mode fromValue(int value)
NotificationConfiguration.Mode object when you know the integer
code.
value - The integer value.
public String toString()
toString in class Enum<NotificationConfiguration.Mode>public int getValue()
NotificationConfiguration.Mode 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 | |||||||||