public enum ModuleState extends java.lang.Enum<ModuleState> implements Localized
| Enum Constant and Description |
|---|
FAULTED |
LOADED |
NEW |
RUNNING |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString(java.util.Locale locale) |
static ModuleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleState NEW
public static final ModuleState LOADED
public static final ModuleState RUNNING
public static final ModuleState FAULTED
public static final ModuleState STOPPED
public static ModuleState[] values()
for (ModuleState c : ModuleState.values()) System.out.println(c);
public static ModuleState 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