Package com.inet.plugin
Enum ServerPluginManager.PluginLoadFailCause
- java.lang.Object
-
- java.lang.Enum<ServerPluginManager.PluginLoadFailCause>
-
- com.inet.plugin.ServerPluginManager.PluginLoadFailCause
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ServerPluginManager.PluginLoadFailCause>
- Enclosing class:
- ServerPluginManager
public static enum ServerPluginManager.PluginLoadFailCause extends java.lang.Enum<ServerPluginManager.PluginLoadFailCause>
Possible cause why a plugin was not loaded.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPENDENCY
a dependency is missingDISABLED
plugin is disabledFILTER
plugin was filter in the current runtimeVERSION
plugin is for a different version
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerPluginManager.PluginLoadFailCause
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServerPluginManager.PluginLoadFailCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILTER
public static final ServerPluginManager.PluginLoadFailCause FILTER
plugin was filter in the current runtime
-
DISABLED
public static final ServerPluginManager.PluginLoadFailCause DISABLED
plugin is disabled
-
VERSION
public static final ServerPluginManager.PluginLoadFailCause VERSION
plugin is for a different version
-
DEPENDENCY
public static final ServerPluginManager.PluginLoadFailCause DEPENDENCY
a dependency is missing
-
-
Method Detail
-
values
public static ServerPluginManager.PluginLoadFailCause[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServerPluginManager.PluginLoadFailCause c : ServerPluginManager.PluginLoadFailCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerPluginManager.PluginLoadFailCause valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-