public static enum ModuleEvent.EVENT extends Enum<ModuleEvent.EVENT>
Enum Constant and Description |
---|
MODULE_DESTROYED
模块销毁事件
|
MODULE_INITIALIZED
模块初始化事件
|
MODULE_STARTUP
模块启动事件
|
Modifier and Type | Method and Description |
---|---|
static ModuleEvent.EVENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleEvent.EVENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleEvent.EVENT MODULE_STARTUP
public static final ModuleEvent.EVENT MODULE_INITIALIZED
public static final ModuleEvent.EVENT MODULE_DESTROYED
public static ModuleEvent.EVENT[] values()
for (ModuleEvent.EVENT c : ModuleEvent.EVENT.values()) System.out.println(c);
public static ModuleEvent.EVENT 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 © 2022. All rights reserved.