public static enum Feature.State extends java.lang.Enum<Feature.State>
Feature.getState()
Enum Constant and Description |
---|
INSTALLED
A Feature in the
INSTALLED state has been successfully linked to the Kernel and is not running. |
STARTED
A Feature in the
STARTED state has been started and is running. |
STOPPED
A Feature in the
STOPPED state has been stopped and all its threads are terminated. |
UNINSTALLED
A Feature in the
UNINSTALLED state has been unlinked from the Kernel. |
Modifier and Type | Method and Description |
---|---|
static Feature.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Feature.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature.State INSTALLED
INSTALLED
state has been successfully linked to the Kernel and is not running.
There are no references from the Kernel to objects owned by this Feature.public static final Feature.State STARTED
STARTED
state has been started and is running.public static final Feature.State STOPPED
STOPPED
state has been stopped and all its threads are terminated. There are
remaining references from the Kernel to objects owned by this Feature.public static final Feature.State UNINSTALLED
UNINSTALLED
state has been unlinked from the Kernel. All Feature methods except
Feature.getState()
throw an IllegalStateException
public static Feature.State[] values()
for (Feature.State c : Feature.State.values()) System.out.println(c);
public static Feature.State 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