public enum RunningMode extends Enum<RunningMode>
host.running-mode, server.running-mode| Enum Constant and Description |
|---|
ADMIN_ONLY |
NORMAL |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static RunningMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunningMode NORMAL
public static final RunningMode ADMIN_ONLY
public static final RunningMode UNDEFINED
public static RunningMode[] values()
for (RunningMode c : RunningMode.values()) System.out.println(c);
public static RunningMode 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.