public static enum LifecycleEvent.Type extends Enum<LifecycleEvent.Type>
| Enum Constant and Description |
|---|
TERM_ACTIVE |
TERM_END |
TERM_START |
TERM_UPDATE |
| Modifier and Type | Method and Description |
|---|---|
static LifecycleEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleEvent.Type TERM_START
public static final LifecycleEvent.Type TERM_ACTIVE
public static final LifecycleEvent.Type TERM_UPDATE
public static final LifecycleEvent.Type TERM_END
public static LifecycleEvent.Type[] values()
for (LifecycleEvent.Type c : LifecycleEvent.Type.values()) System.out.println(c);
public static LifecycleEvent.Type 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 null