public enum RestartMode extends Enum<RestartMode>
| Enum Constant and Description |
|---|
HC_ONLY
Only restart the host controller
|
SERVERS
Restart HC and servers
|
| Modifier and Type | Method and Description |
|---|---|
static RestartMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestartMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestartMode HC_ONLY
public static final RestartMode SERVERS
public static RestartMode[] values()
for (RestartMode c : RestartMode.values()) System.out.println(c);
public static RestartMode 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 © 2019 JBoss by Red Hat. All rights reserved.