public enum Action extends Enum<Action>
| Enum Constant and Description |
|---|
KILL |
RELOAD |
RESTART |
RESUME |
START |
STOP |
SUSPEND |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isStarting(Action action) |
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action RELOAD
public static final Action RESTART
public static final Action SUSPEND
public static final Action RESUME
public static final Action START
public static final Action STOP
public static final Action KILL
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action 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 nullpublic static boolean isStarting(Action action)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.