public enum LifecycleStatus extends java.lang.Enum<LifecycleStatus>
Enum Constant and Description |
---|
Error
Component startup failed with an error
|
Initializing
Component is initializing
|
Paused
Component is paused
|
Pausing
Component is pausing
|
Started
Component is started
|
Starting
Component is starting
|
Stopped
Component is stopped
|
Stopping
Component is stopping
|
Modifier and Type | Method and Description |
---|---|
static LifecycleStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleStatus Initializing
public static final LifecycleStatus Stopped
public static final LifecycleStatus Starting
public static final LifecycleStatus Started
public static final LifecycleStatus Pausing
public static final LifecycleStatus Paused
public static final LifecycleStatus Stopping
public static final LifecycleStatus Error
public static LifecycleStatus[] values()
for (LifecycleStatus c : LifecycleStatus.values()) System.out.println(c);
public static LifecycleStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null