org.ourgrid.test.threadServices
Enum RunnerWaiterRunnable.Status
java.lang.Object
java.lang.Enum<RunnerWaiterRunnable.Status>
org.ourgrid.test.threadServices.RunnerWaiterRunnable.Status
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RunnerWaiterRunnable.Status>
- Enclosing class:
- RunnerWaiterRunnable
public static enum RunnerWaiterRunnable.Status
- extends java.lang.Enum<RunnerWaiterRunnable.Status>
Avalaible the statuses fot a RunnerWaiterRunnable
.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NOTSTARTED
public static final RunnerWaiterRunnable.Status NOTSTARTED
RUNNING
public static final RunnerWaiterRunnable.Status RUNNING
WAITING
public static final RunnerWaiterRunnable.Status WAITING
STOPPED
public static final RunnerWaiterRunnable.Status STOPPED
values
public static final RunnerWaiterRunnable.Status[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(RunnerWaiterRunnable.Status c : RunnerWaiterRunnable.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static RunnerWaiterRunnable.Status valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name