public static enum ModuleEvent.Type extends java.lang.Enum<ModuleEvent.Type>
Enum Constant and Description |
---|
CONFIG_CHANGED
after the module configuration has been changed and accepted through updateConfig()
|
CONNECTED
Module connected (e.g.
|
DELETED
after module is fully deleted (along with its configuration)
|
DISCONNECTED
Module disconnected (e.g.
|
ERROR
when an error occurs during asynchronous module execution
|
LOADED
after module is loaded by registry
|
STATE_CHANGED
after the module state has changed
|
STATUS
when a new status message is published
|
UNLOADED
after module is unloaded from registry
|
Modifier and Type | Method and Description |
---|---|
static ModuleEvent.Type |
valueOf(java.lang.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 STATE_CHANGED
public static final ModuleEvent.Type CONFIG_CHANGED
public static final ModuleEvent.Type CONNECTED
public static final ModuleEvent.Type DISCONNECTED
public static final ModuleEvent.Type STATUS
public static final ModuleEvent.Type ERROR
public static final ModuleEvent.Type LOADED
public static final ModuleEvent.Type UNLOADED
public static final ModuleEvent.Type DELETED
public static ModuleEvent.Type[] values()
for (ModuleEvent.Type c : ModuleEvent.Type.values()) System.out.println(c);
public static ModuleEvent.Type 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