public enum RunningState extends Enum<RunningState>
host.host-state, server.server-state| Enum Constant and Description |
|---|
RELOAD_REQUIRED |
RESTART_REQUIRED |
RUNNING |
STARTING |
STOPPED |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static RunningState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunningState STARTING
public static final RunningState RUNNING
public static final RunningState STOPPED
public static final RunningState RESTART_REQUIRED
public static final RunningState RELOAD_REQUIRED
public static final RunningState UNDEFINED
public static RunningState[] values()
for (RunningState c : RunningState.values()) System.out.println(c);
public static RunningState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.