public enum PluginConfig extends Enum<PluginConfig> implements Config
Enum Constant and Description |
---|
DISABLED_COMMANDS |
Modifier and Type | Method and Description |
---|---|
com.codelanx.commons.config.DataHolder<? extends com.codelanx.commons.data.FileDataType> |
getData() |
Object |
getDefault() |
File |
getFileLocation() |
String |
getPath() |
static PluginConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final PluginConfig DISABLED_COMMANDS
public static PluginConfig[] values()
for (PluginConfig c : PluginConfig.values()) System.out.println(c);
public static PluginConfig valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPath()
getPath
in interface com.codelanx.commons.config.InfoFile
public Object getDefault()
getDefault
in interface com.codelanx.commons.config.InfoFile
public com.codelanx.commons.config.DataHolder<? extends com.codelanx.commons.data.FileDataType> getData()
getData
in interface com.codelanx.commons.config.InfoFile
public File getFileLocation()
getFileLocation
in interface Config
getFileLocation
in interface com.codelanx.commons.config.InfoFile
Copyright © 2017. All rights reserved.