public static enum ILifecycleEvent.Kind extends Enum<ILifecycleEvent.Kind>
lifecycle state
changes of an entity.Enum Constant and Description |
---|
ABOUT_TO_ACTIVATE |
ABOUT_TO_DEACTIVATE |
ACTIVATED |
DEACTIVATED |
Modifier and Type | Method and Description |
---|---|
static ILifecycleEvent.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILifecycleEvent.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILifecycleEvent.Kind ABOUT_TO_ACTIVATE
public static final ILifecycleEvent.Kind ACTIVATED
public static final ILifecycleEvent.Kind ABOUT_TO_DEACTIVATE
public static final ILifecycleEvent.Kind DEACTIVATED
public static ILifecycleEvent.Kind[] values()
for (ILifecycleEvent.Kind c : ILifecycleEvent.Kind.values()) System.out.println(c);
public static ILifecycleEvent.Kind 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 (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.