public enum WaitStatus extends java.lang.Enum<WaitStatus>
| Enum Constant and Description |
|---|
DESTROYED |
INTERRUPTED |
OK |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static WaitStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WaitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaitStatus OK
public static final WaitStatus TIMEOUT
public static final WaitStatus INTERRUPTED
public static final WaitStatus DESTROYED
public static WaitStatus[] values()
for (WaitStatus c : WaitStatus.values()) System.out.println(c);
public static WaitStatus 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