public enum LifecycleState extends java.lang.Enum<LifecycleState>
Enum Constant and Description |
---|
CREATED |
DESTROYED |
DORMANT |
PAUSED |
RESUMED |
STARTED |
STOPPED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
boolean |
isCreated() |
boolean |
isDestroyed() |
boolean |
isDormant() |
boolean |
isPaused() |
boolean |
isResumed() |
boolean |
isStarted() |
boolean |
isStopped() |
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 DORMANT
public static final LifecycleState CREATED
public static final LifecycleState STARTED
public static final LifecycleState RESUMED
public static final LifecycleState PAUSED
public static final LifecycleState STOPPED
public static final LifecycleState DESTROYED
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 nullpublic java.lang.String getLabel()
public final boolean isDormant()
public final boolean isCreated()
public final boolean isStarted()
public final boolean isResumed()
public final boolean isPaused()
public final boolean isStopped()
public final boolean isDestroyed()