public static enum Daemon.State extends java.lang.Enum<Daemon.State>
Enum Constant and Description |
---|
ERROR |
FATAL |
STARTED |
STARTING |
STOPPED |
STOPPING |
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 STOPPING
public static final Daemon.State STOPPED
public static final Daemon.State STARTING
public static final Daemon.State STARTED
public static final Daemon.State ERROR
public static final Daemon.State FATAL
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 nullCopyright © 2014–2017 ActFramework. All rights reserved.