public enum LifeCycleRequest extends Enum<LifeCycleRequest>
Enum Constant and Description |
---|
DESTROY |
INITIALIZE |
PAUSE |
RESUME |
START |
STOP |
Modifier and Type | Method and Description |
---|---|
static LifeCycleRequest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifeCycleRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifeCycleRequest INITIALIZE
public static final LifeCycleRequest START
public static final LifeCycleRequest STOP
public static final LifeCycleRequest PAUSE
public static final LifeCycleRequest RESUME
public static final LifeCycleRequest DESTROY
public static LifeCycleRequest[] values()
for (LifeCycleRequest c : LifeCycleRequest.values()) System.out.println(c);
public static LifeCycleRequest 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 © 2016. All rights reserved.