public static enum SuspendController.State extends Enum<SuspendController.State>
Enum Constant and Description |
---|
PRE_SUSPEND |
RUNNING |
SUSPENDED |
SUSPENDING |
Modifier and Type | Method and Description |
---|---|
static SuspendController.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuspendController.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuspendController.State RUNNING
public static final SuspendController.State PRE_SUSPEND
public static final SuspendController.State SUSPENDING
public static final SuspendController.State SUSPENDED
public static SuspendController.State[] values()
for (SuspendController.State c : SuspendController.State.values()) System.out.println(c);
public static SuspendController.State 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 © 2023 JBoss by Red Hat. All rights reserved.