public enum LifecycleState extends java.lang.Enum<LifecycleState>
Enum Constant and Description |
---|
DESTROYED |
DESTROYING |
FAILED |
INITIALIZED |
INITIALIZING |
MUST_DESTROY |
MUST_STOP |
NEW |
STARTED |
STARTING |
STARTING_PREP |
STOPPED |
STOPPING |
STOPPING_PREP |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLifecycleEvent() |
boolean |
isAvailable()
May the public methods other than property getters/setters and lifecycle
methods be called for a component in this state?
|
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 INITIALIZED
public static final LifecycleState STARTING_PREP
public static final LifecycleState STARTING
public static final LifecycleState STARTED
public static final LifecycleState STOPPING_PREP
public static final LifecycleState STOPPING
public static final LifecycleState STOPPED
public static final LifecycleState DESTROYING
public static final LifecycleState DESTROYED
public static final LifecycleState FAILED
public static final LifecycleState MUST_STOP
public static final LifecycleState MUST_DESTROY
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 boolean isAvailable()
true
for any component in any of the following states:
public java.lang.String getLifecycleEvent()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.