
public enum LifecycleState extends Enum<LifecycleState>
lifecycle.| Enum Constant and Description |
|---|
ACTIVATING |
ACTIVE |
DEACTIVATING |
INACTIVE |
| 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 ACTIVATING
public static final LifecycleState ACTIVE
public static final LifecycleState DEACTIVATING
public static final LifecycleState INACTIVE
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 (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.