public enum LifecycleState extends Enum<LifecycleState>
| Enum Constant and Description |
|---|
CREATED
The application has been created but has not attempted to
start. |
FAILED
An attempt to
start the application failed. |
STARTED
The application has started successfully.
|
STARTING
The application is starting.
|
| Modifier and Type | Method and Description |
|---|---|
static LifecycleState |
valueOf(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 CREATED
start. This is a placeholder
state used when no explicit state has been set.public static final LifecycleState FAILED
start the application failed. Application components like filters and servlets
will likely never be available.public static final LifecycleState STARTED
public static final LifecycleState STARTING
filter proxies) should not attempt to bind to them
yet.public static LifecycleState[] values()
for (LifecycleState c : LifecycleState.values()) System.out.println(c);
public static LifecycleState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Atlassian. All rights reserved.