public enum LifecycleState extends java.lang.Enum<LifecycleState>
| Enum Constant and Description |
|---|
PausedIdle |
PausedRun |
Pausing |
Resuming |
Running |
Started |
Starting |
Stopping |
Unknown |
| Modifier and Type | Method and Description |
|---|---|
static LifecycleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleState Starting
public static final LifecycleState Started
public static final LifecycleState Running
public static final LifecycleState Pausing
public static final LifecycleState PausedIdle
public static final LifecycleState PausedRun
public static final LifecycleState Resuming
public static final LifecycleState Stopping
public static final LifecycleState Unknown
public static LifecycleState[] values()
for (LifecycleState c : LifecycleState.values()) System.out.println(c);
public static LifecycleState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null