Enum BaseDirectoryScope
- java.lang.Object
-
- java.lang.Enum<BaseDirectoryScope>
-
- ca.stellardrift.permissionsex.impl.BaseDirectoryScope
-
- All Implemented Interfaces:
Serializable,Comparable<BaseDirectoryScope>
public enum BaseDirectoryScope extends Enum<BaseDirectoryScope>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGThe base directory for PermissionsEx's configuration filesJARWhere jar files should be put to update the pluginSERVERServer base directory, where files like server.properties and ops.json are locatedWORLDSThe server's worlds container
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseDirectoryScopevalueOf(String name)Returns the enum constant of this type with the specified name.static BaseDirectoryScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIG
public static final BaseDirectoryScope CONFIG
The base directory for PermissionsEx's configuration files
-
JAR
public static final BaseDirectoryScope JAR
Where jar files should be put to update the plugin
-
SERVER
public static final BaseDirectoryScope SERVER
Server base directory, where files like server.properties and ops.json are located
-
WORLDS
public static final BaseDirectoryScope WORLDS
The server's worlds container
-
-
Method Detail
-
values
public static BaseDirectoryScope[] 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 (BaseDirectoryScope c : BaseDirectoryScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseDirectoryScope valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-