public static enum LifecycleMXBean.State extends Enum<LifecycleMXBean.State>
Enum Constant and Description |
---|
NONE
No state.
|
STARTED
The object has been started and is running, i.e.
|
STARTING
In the process of starting, i.e.
|
STOPPING
In the process of stopping, i.e.
|
Modifier and Type | Method and Description |
---|---|
static LifecycleMXBean.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleMXBean.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleMXBean.State NONE
public static final LifecycleMXBean.State STARTING
public static final LifecycleMXBean.State STARTED
public static final LifecycleMXBean.State STOPPING
public static LifecycleMXBean.State[] values()
for (LifecycleMXBean.State c : LifecycleMXBean.State.values()) System.out.println(c);
public static LifecycleMXBean.State 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 © 2013–2018 JBoss by Red Hat. All rights reserved.