public static enum ModuleEvent.Type extends Enum<ModuleEvent.Type>
Enum Constant and Description |
---|
CONFIG_CHANGED
after the module configuration has been changed and accepted through updateConfig()
|
DELETED
after module is fully deleted (along with its configuration)
|
DISABLED
after module is disabled/stopped
|
ENABLED
after module is enabled/started
|
LOADED
after module class is first instantiated and init() has been called
|
UNLOADED
after module is stopped and unloaded from registry
|
Modifier and Type | Method and Description |
---|---|
static ModuleEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleEvent.Type LOADED
public static final ModuleEvent.Type UNLOADED
public static final ModuleEvent.Type DELETED
public static final ModuleEvent.Type ENABLED
public static final ModuleEvent.Type DISABLED
public static final ModuleEvent.Type CONFIG_CHANGED
public static ModuleEvent.Type[] values()
for (ModuleEvent.Type c : ModuleEvent.Type.values()) System.out.println(c);
public static ModuleEvent.Type 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 © 2015 Sensia Software LLC. All rights reserved.