public enum LifecycleEventType extends Enum<LifecycleEventType>
Enum Constant and Description |
---|
AFTER_DESTROY
After destroying the artifact
|
AFTER_INITIALIZE
After initializing the artifact
|
AFTER_PAUSE
After pausing the artifact
|
AFTER_RESUME
After resuming the artifact
|
AFTER_START
After starting the artifact
|
AFTER_STOP
After stopping the artifact
|
ALL
All of the above events
|
BEFORE_DESTROY
Before destroying the artifact
|
BEFORE_INITIALIZE
Before initializing the artifact
|
BEFORE_PAUSE
Before pausing the artifact
|
BEFORE_RESUME
Before resuming the artifact
|
BEFORE_START
Before starting the artifact
|
BEFORE_STOP
Before stopping the artifact
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(LifecycleEventType type)
Matches the given lifecycle type over this lifecycle type
|
static LifecycleEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleEventType BEFORE_INITIALIZE
public static final LifecycleEventType AFTER_INITIALIZE
public static final LifecycleEventType BEFORE_START
public static final LifecycleEventType AFTER_START
public static final LifecycleEventType BEFORE_STOP
public static final LifecycleEventType AFTER_STOP
public static final LifecycleEventType BEFORE_PAUSE
public static final LifecycleEventType AFTER_PAUSE
public static final LifecycleEventType BEFORE_RESUME
public static final LifecycleEventType AFTER_RESUME
public static final LifecycleEventType BEFORE_DESTROY
public static final LifecycleEventType AFTER_DESTROY
public static final LifecycleEventType ALL
public static LifecycleEventType[] values()
for (LifecycleEventType c : LifecycleEventType.values()) System.out.println(c);
public static LifecycleEventType 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 nullpublic boolean matches(LifecycleEventType type)
type
- the lifecycle type to be matchedCopyright © 2010–2016 AdroitLogic. All rights reserved.