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