public enum LifecycleState extends Enum<LifecycleState>
Modifier and Type | Field and Description |
---|---|
static LifecycleState[] |
START_OR_ERROR |
static LifecycleState[] |
STOP_OR_ERROR |
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 IDLE
public static final LifecycleState START
public static final LifecycleState STOP
public static final LifecycleState ERROR
public static final LifecycleState[] START_OR_ERROR
public static final LifecycleState[] STOP_OR_ERROR
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 © 2009-2016 Apache Software Foundation. All Rights Reserved.