public enum LifecycleState extends java.lang.Enum<LifecycleState>
Enum Constant and Description |
---|
ACTIVE |
DESTROYED |
DESTROYING |
FAILED |
INIT |
INITIALIZING |
NEW |
STANDBY |
STARTING |
STOPPED |
STOPPED_IDLE |
STOPPING |
WARMUP |
Modifier and Type | Method and Description |
---|---|
int |
getState() |
java.lang.String |
getStateName() |
boolean |
isActive() |
boolean |
isAfterActive() |
boolean |
isAfterDestroying() |
boolean |
isAfterInit() |
boolean |
isAfterStarting() |
boolean |
isAfterStopping() |
boolean |
isAllowStopFromRestart() |
boolean |
isBeforeActive() |
boolean |
isBeforeInit() |
boolean |
isDestroyed() |
boolean |
isDestroying() |
boolean |
isError() |
boolean |
isIdle() |
boolean |
isInit() |
boolean |
isInitializing() |
boolean |
isRunnable() |
boolean |
isStarting() |
boolean |
isStopped() |
boolean |
isStoppedIdle() |
boolean |
isStopping() |
boolean |
isWarmup() |
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 NEW
public static final LifecycleState INITIALIZING
public static final LifecycleState INIT
public static final LifecycleState STARTING
public static final LifecycleState STANDBY
public static final LifecycleState STOPPED_IDLE
public static final LifecycleState WARMUP
public static final LifecycleState ACTIVE
public static final LifecycleState FAILED
public static final LifecycleState STOPPING
public static final LifecycleState STOPPED
public static final LifecycleState DESTROYING
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 int getState()
public java.lang.String getStateName()
public boolean isBeforeInit()
public boolean isInitializing()
public boolean isInit()
public boolean isAfterInit()
public boolean isStoppedIdle()
public boolean isIdle()
public boolean isStarting()
public boolean isAfterStarting()
public boolean isBeforeActive()
public boolean isWarmup()
public boolean isAfterActive()
public boolean isActive()
public boolean isRunnable()
public boolean isError()
public boolean isStopping()
public boolean isAfterStopping()
public boolean isAllowStopFromRestart()
public boolean isStopped()
public boolean isDestroying()
public boolean isAfterDestroying()
public boolean isDestroyed()