public enum ModuleState extends Enum<ModuleState>
| Enum Constant and Description |
|---|
LOADING
The module has been recognized and is currently loading
|
READY
The module is ready, the fields injected and its initialize method called (if there is one)
|
SHUTDOWN
The module was running at least once and its shutdown method has been called (if there is one)
|
UNKNOWN
The state is currently unknown, can happen when a module has just been recognized by the system
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleState |
valueOf(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 LOADING
public static final ModuleState READY
public static final ModuleState SHUTDOWN
public static final ModuleState UNKNOWN
public static ModuleState[] values()
for (ModuleState c : ModuleState.values()) System.out.println(c);
public static ModuleState 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 © 2014–2015 MountainBlade. All rights reserved.