public static enum PluginEvent.EVENT extends Enum<PluginEvent.EVENT>
Enum Constant and Description |
---|
PLUGIN_DESTROYED
插件销毁事件
|
PLUGIN_INITIALIZED
插件初始化事件
|
PLUGIN_SHUTDOWN
插件停止事件
|
PLUGIN_STARTED
插件启动事件
|
Modifier and Type | Method and Description |
---|---|
static PluginEvent.EVENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginEvent.EVENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginEvent.EVENT PLUGIN_INITIALIZED
public static final PluginEvent.EVENT PLUGIN_STARTED
public static final PluginEvent.EVENT PLUGIN_SHUTDOWN
public static final PluginEvent.EVENT PLUGIN_DESTROYED
public static PluginEvent.EVENT[] values()
for (PluginEvent.EVENT c : PluginEvent.EVENT.values()) System.out.println(c);
public static PluginEvent.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.