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