public static enum Lifecycle.LifecycleState extends java.lang.Enum<Lifecycle.LifecycleState>
Enum Constant and Description |
---|
Constructing
State immediately active after construction of the object.
|
Disposed
State active after object has been cleaned up, right before
references by the managing container to it are dropped.
|
Disposing
State active when object begins cleaning up.
|
Initialized
State active when object finished setting up.
|
Initializing
State active when object is being lazily set up.
|
Modifier and Type | Method and Description |
---|---|
static Lifecycle.LifecycleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Lifecycle.LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lifecycle.LifecycleState Constructing
public static final Lifecycle.LifecycleState Initializing
public static final Lifecycle.LifecycleState Initialized
public static final Lifecycle.LifecycleState Disposing
public static final Lifecycle.LifecycleState Disposed
public static Lifecycle.LifecycleState[] values()
for (Lifecycle.LifecycleState c : Lifecycle.LifecycleState.values()) System.out.println(c);
public static Lifecycle.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