|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ServiceJobStates>
eu.geclipse.servicejob.model.ServiceJobStates
public enum ServiceJobStates
Enumeration class of Operator's Jobs statuses.
| Enum Constant Summary | |
|---|---|
CRITICAL
CRITICAL state (when Job was finished). |
|
ERROR
ERROR state (when Job was finished). |
|
NA
State not available. |
|
NULL
null value |
|
OK
OK state. |
|
RUNNING
Operator's Job is still running. |
|
WARNING
WARRNING state (when Job was finished). |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlias()
Method to access string alias of enumeration value. |
static ServiceJobStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ServiceJobStates |
valueOfAlias(java.lang.String alias)
Returns enumeration value for given state alias. |
static ServiceJobStates[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ServiceJobStates OK
public static final ServiceJobStates ERROR
public static final ServiceJobStates WARNING
public static final ServiceJobStates CRITICAL
public static final ServiceJobStates NA
public static final ServiceJobStates RUNNING
public static final ServiceJobStates NULL
| Method Detail |
|---|
public static final ServiceJobStates[] values()
for(ServiceJobStates c : ServiceJobStates.values())
System.out.println(c);
public static ServiceJobStates 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 namepublic static ServiceJobStates valueOfAlias(java.lang.String alias)
alias - text alias of Operator's Job state
ServiceJobStates object representing value of alias, or
NULL if there is no value for given alias.public java.lang.String getAlias()
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||