|
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<IWorkerNodeInfo.WorkerNodeState>
eu.geclipse.batch.IWorkerNodeInfo.WorkerNodeState
public static enum IWorkerNodeInfo.WorkerNodeState
This field determines the type of the state of this WorkerNode.
| Enum Constant Summary | |
|---|---|
busy
The worker node currently have a job execution on it and are busy. |
|
down
The worker node is down, i.e. no contact with this workernode. |
|
free
The worker node is free. |
|
job_exclusive
The worker node currently have a job execution on it. |
|
offline
The batch service have set this worker node to offline. |
|
unknown
The state of the worker node is unknown at this time. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
static IWorkerNodeInfo.WorkerNodeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IWorkerNodeInfo.WorkerNodeState |
valueOfEnhanced(java.lang.String val)
Due to the prohibition of - in enum identifiers, this method was added. |
static IWorkerNodeInfo.WorkerNodeState[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IWorkerNodeInfo.WorkerNodeState free
public static final IWorkerNodeInfo.WorkerNodeState down
public static final IWorkerNodeInfo.WorkerNodeState offline
public static final IWorkerNodeInfo.WorkerNodeState job_exclusive
public static final IWorkerNodeInfo.WorkerNodeState busy
public static final IWorkerNodeInfo.WorkerNodeState unknown
| Method Detail |
|---|
public static final IWorkerNodeInfo.WorkerNodeState[] values()
for(IWorkerNodeInfo.WorkerNodeState c : IWorkerNodeInfo.WorkerNodeState.values())
System.out.println(c);
public static IWorkerNodeInfo.WorkerNodeState 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 java.lang.String toString()
toString in class java.lang.Enum<IWorkerNodeInfo.WorkerNodeState>public static IWorkerNodeInfo.WorkerNodeState valueOfEnhanced(java.lang.String val)
val - The String value to be "matched" to a enum identifier.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||