|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AreaPlugin>
io.github.alshain01.flags.api.AreaPlugin
public enum AreaPlugin
Class for acquiring data from the active cuboid system
Enum Constant Summary | |
---|---|
DEFAULT
|
|
FACTIONS
|
|
FACTOID
|
|
FLAGS
|
|
GRIEF_PREVENTION
|
|
INFINITEPLOTS
|
|
PLOTME
|
|
PRECIOUSSTONES
|
|
REGIOS
|
|
RESIDENCE
|
|
WILDERNESS
|
|
WORLDGUARD
|
Method Summary | |
---|---|
static AreaPlugin |
getByName(java.lang.String name)
Gets the enumeration that matches the case sensitive plugin.yml name. |
java.lang.String |
getCuboidName()
Gets the name of the area division for the cuboid system (i.e. |
java.lang.String |
getDisplayName()
Gets a user friendly string, including spaces, for the plug-in. |
java.lang.String |
getName()
Gets the plug-in name as indicated in it's plugin.yml |
boolean |
isActive()
Gets if the plugin is the currently active plugin |
boolean |
isAdministrator()
Gets if the plugin supports administrator areas |
boolean |
isCuboid()
Gets if the plugin uses only rectangle or cuboid land divisions |
boolean |
isIdentifiable()
Gets if the plugin identifies areas by UUID |
boolean |
isOwnable()
Gets if the plugin supports players owning areas |
boolean |
isRenameable()
Gets if the plugin supports changing the name of areas after their creation |
boolean |
isSiegeable()
Gets if the plugin supports siegeable areas |
boolean |
isSubdividable()
Gets if the plugin supports subdivisions |
static AreaPlugin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AreaPlugin[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AreaPlugin DEFAULT
public static final AreaPlugin WILDERNESS
public static final AreaPlugin FACTIONS
public static final AreaPlugin FACTOID
public static final AreaPlugin FLAGS
public static final AreaPlugin GRIEF_PREVENTION
public static final AreaPlugin INFINITEPLOTS
public static final AreaPlugin PLOTME
public static final AreaPlugin PRECIOUSSTONES
public static final AreaPlugin REGIOS
public static final AreaPlugin RESIDENCE
public static final AreaPlugin WORLDGUARD
Method Detail |
---|
public static AreaPlugin[] values()
for (AreaPlugin c : AreaPlugin.values()) System.out.println(c);
public static AreaPlugin 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String getDisplayName()
public java.lang.String getCuboidName()
public static AreaPlugin getByName(@Nonnull java.lang.String name)
public boolean isActive()
public boolean isSubdividable()
public boolean isRenameable()
public boolean isAdministrator()
public boolean isOwnable()
public boolean isSiegeable()
public boolean isIdentifiable()
public boolean isCuboid()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |