public enum ModuleStatus extends Enum<ModuleStatus>
Enum Constant and Description |
---|
ACTIVE |
CREATED |
DESTROYED |
FAILED |
STARTED |
STOPPED |
Modifier and Type | Method and Description |
---|---|
static ModuleStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleStatus CREATED
public static final ModuleStatus ACTIVE
public static final ModuleStatus FAILED
public static final ModuleStatus STARTED
public static final ModuleStatus STOPPED
public static final ModuleStatus DESTROYED
public static final String copyright
public static ModuleStatus[] values()
for (ModuleStatus c : ModuleStatus.values()) System.out.println(c);
public static ModuleStatus 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 null