private static enum ProtectedTimerTask.TaskStatus extends java.lang.Enum<ProtectedTimerTask.TaskStatus>
| Enum Constant and Description |
|---|
CANCELLED
The task was cancelled.
|
SCHEDULED
The task was scheduled to a timer.
|
VIRGIN
The task wasn't ever scheduled.
|
| Modifier and Type | Method and Description |
|---|---|
static ProtectedTimerTask.TaskStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtectedTimerTask.TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectedTimerTask.TaskStatus VIRGIN
public static final ProtectedTimerTask.TaskStatus SCHEDULED
public static final ProtectedTimerTask.TaskStatus CANCELLED
public static ProtectedTimerTask.TaskStatus[] values()
for (ProtectedTimerTask.TaskStatus c : ProtectedTimerTask.TaskStatus.values()) System.out.println(c);
public static ProtectedTimerTask.TaskStatus 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 namejava.lang.NullPointerException - if the argument is null