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