public static enum ModuleEvent.ModuleState extends java.lang.Enum<ModuleEvent.ModuleState>
Enum Constant and Description |
---|
INITIALIZED
after module was successfully initialized
|
INITIALIZING
when module asynchronous init has been requested
|
LOADED
after module class is first instantiated and added to the registry
|
STARTED
after module was successfully started
|
STARTING
when module asynchronous start has been requested
|
STOPPED
after module was successfully stopped
|
STOPPING
when module asynchronous stop has been requested
|
Modifier and Type | Method and Description |
---|---|
static ModuleEvent.ModuleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleEvent.ModuleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleEvent.ModuleState LOADED
public static final ModuleEvent.ModuleState INITIALIZING
public static final ModuleEvent.ModuleState INITIALIZED
public static final ModuleEvent.ModuleState STARTING
public static final ModuleEvent.ModuleState STARTED
public static final ModuleEvent.ModuleState STOPPING
public static final ModuleEvent.ModuleState STOPPED
public static ModuleEvent.ModuleState[] values()
for (ModuleEvent.ModuleState c : ModuleEvent.ModuleState.values()) System.out.println(c);
public static ModuleEvent.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