Enum Class DependencyType
- All Implemented Interfaces:
Serializable,Comparable<DependencyType>,Constable
Represents the type of an dependency.
A dependency with type
DEPEND means that it is
required for the current plugin to load.
A dependency with type SOFTDEPEND means that the
current plugin needs it for fill functionality.
A dependency with type LOADBEFORE means that the
dependency needs your plugin to be loaded before it loads.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis dependency is required by the current plugin.This dependency needs the current plugin to be loaded before it loads.This dependency is optionally for the current plugin. -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyTypeReturns the enum constant of this class with the specified name.static DependencyType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEPEND
This dependency is required by the current plugin. -
SOFTDEPEND
This dependency is optionally for the current plugin. -
LOADBEFORE
This dependency needs the current plugin to be loaded before it loads.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-