public static enum LifecycleContext.EventType extends java.lang.Enum<LifecycleContext.EventType>
Enum Constant and Description |
---|
PRE_START
The application is in the process of being started.
|
PRE_STOP
The application has just received the command to either be stopped or
removed (or both).
|
STARTED
The application start context listeners have all been called.
|
STOPPED
The application has already been stopped administratively.
|
UNDEPLOYED
The application has already been removed administratively.
|
Modifier and Type | Method and Description |
---|---|
static LifecycleContext.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleContext.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleContext.EventType PRE_START
public static final LifecycleContext.EventType STARTED
public static final LifecycleContext.EventType PRE_STOP
public static final LifecycleContext.EventType STOPPED
public static final LifecycleContext.EventType UNDEPLOYED
public static LifecycleContext.EventType[] values()
for (LifecycleContext.EventType c : LifecycleContext.EventType.values()) System.out.println(c);
public static LifecycleContext.EventType 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