|
Log4j 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<State>
pl.psnc.expres.remote.protocol.notification.State
public enum State
State
enum - defines a set of possible operations/modules states. The
enumeration name is internationalised.
Enum Constant Summary | |
---|---|
DONE
The task is done |
|
ERROR
There was an error while processing request |
|
EXPERIMENT_DONE
The experiment done |
|
OK
OK - message received without error |
|
TN_NOTIFICATION
Notification from translation node - chunk is ready |
Method Summary | |
---|---|
static State |
getByName(java.lang.String name)
Get instance of this enun value by the given name |
static State |
getByNameKey(java.lang.String nameKey)
Get instance of this enun value by the given name key |
java.lang.String |
getDescription()
Get internationalised description of a correlation state |
java.lang.String |
getName()
Get internationalised name of a correlation state |
java.lang.String |
getNameKey()
Get value of field: nameKey |
java.lang.String |
toString()
|
static State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static State[] |
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 State OK
public static final State ERROR
public static final State DONE
public static final State EXPERIMENT_DONE
public static final State TN_NOTIFICATION
Method Detail |
---|
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<State>
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getNameKey()
public static State getByName(java.lang.String name)
name
- enum name
NULL
if such enum was not found.public static State getByNameKey(java.lang.String nameKey)
nameKey
- enum name key
NULL
if such enum was not found.
|
Log4j 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |