public static enum ModuleConstraint.ContraintType extends java.lang.Enum<ModuleConstraint.ContraintType>
| Enum Constant and Description |
|---|
MODULE
Required module
|
MODULE_VERSION |
MODULE_VERSION_IS_HIGHER |
MODULE_VERSION_IS_LOWER |
PLACEHOLDERAPI_VERSION
PlaceholderAPIBungee version higher
|
PLUGIN
Make sure this plugin is loaded
|
PLUGIN_AUTHOR
Make sure the plugin has the following author
|
PLUGIN_MAIN
Make sure the plugin has this class for main (written like in plugin.yml)
|
PLUGIN_VERSION
Make sure the plugin CONTAINS this version string
|
PLUGIN_VERSION_IS_HIGHER
Make sure the plugin version is higher
|
PLUGIN_VERSION_IS_LOWER
Make sure the plugin version is lower
|
SERVER_VERSION_IS_HIGHER |
SERVER_VERSION_IS_LOWER |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
int |
getPriority() |
void |
setName(java.lang.String name) |
void |
setPriority(int priority) |
static ModuleConstraint.ContraintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleConstraint.ContraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleConstraint.ContraintType PLUGIN
public static final ModuleConstraint.ContraintType PLUGIN_VERSION
public static final ModuleConstraint.ContraintType PLUGIN_VERSION_IS_LOWER
public static final ModuleConstraint.ContraintType PLUGIN_VERSION_IS_HIGHER
public static final ModuleConstraint.ContraintType PLUGIN_MAIN
public static final ModuleConstraint.ContraintType PLUGIN_AUTHOR
public static final ModuleConstraint.ContraintType PLACEHOLDERAPI_VERSION
public static final ModuleConstraint.ContraintType SERVER_VERSION_IS_LOWER
public static final ModuleConstraint.ContraintType SERVER_VERSION_IS_HIGHER
public static final ModuleConstraint.ContraintType MODULE
public static final ModuleConstraint.ContraintType MODULE_VERSION
public static final ModuleConstraint.ContraintType MODULE_VERSION_IS_LOWER
public static final ModuleConstraint.ContraintType MODULE_VERSION_IS_HIGHER
public static ModuleConstraint.ContraintType[] values()
for (ModuleConstraint.ContraintType c : ModuleConstraint.ContraintType.values()) System.out.println(c);
public static ModuleConstraint.ContraintType 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 nullpublic int getPriority()
public void setPriority(int priority)
public java.lang.String getName()
public void setName(java.lang.String name)