Class MemoryConfiguration
- java.lang.Object
-
- net.alpenblock.bungeeperms.config.MemorySection
-
- net.alpenblock.bungeeperms.config.MemoryConfiguration
-
- All Implemented Interfaces:
Configuration
,ConfigurationSection
- Direct Known Subclasses:
FileConfiguration
public class MemoryConfiguration extends MemorySection implements Configuration
-
-
Field Summary
Fields Modifier and Type Field Description protected Configuration
defaults
protected MemoryConfigurationOptions
options
-
Fields inherited from class net.alpenblock.bungeeperms.config.MemorySection
map
-
-
Constructor Summary
Constructors Constructor Description MemoryConfiguration()
MemoryConfiguration(Configuration defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefault(java.lang.String path, java.lang.Object value)
void
addDefaults(java.util.Map<java.lang.String,java.lang.Object> defaults)
void
addDefaults(Configuration defaults)
Configuration
getDefaults()
ConfigurationSection
getParent()
MemoryConfigurationOptions
options()
void
setDefaults(Configuration defaults)
-
Methods inherited from class net.alpenblock.bungeeperms.config.MemorySection
contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getRoot, getShortList, getString, getString, getStringList, getValues, isBoolean, isConfigurationSection, isDouble, isInt, isList, isLong, isPrimitiveWrapper, isSet, isString, mapChildrenKeys, mapChildrenValues, set, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.alpenblock.bungeeperms.config.ConfigurationSection
contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getRoot, getShortList, getString, getString, getStringList, getValues, isBoolean, isConfigurationSection, isDouble, isInt, isList, isLong, isSet, isString, set
-
-
-
-
Field Detail
-
defaults
protected Configuration defaults
-
options
protected MemoryConfigurationOptions options
-
-
Constructor Detail
-
MemoryConfiguration
public MemoryConfiguration()
-
MemoryConfiguration
public MemoryConfiguration(Configuration defaults)
-
-
Method Detail
-
addDefault
public void addDefault(java.lang.String path, java.lang.Object value)
- Specified by:
addDefault
in interfaceConfiguration
- Specified by:
addDefault
in interfaceConfigurationSection
- Overrides:
addDefault
in classMemorySection
-
addDefaults
public void addDefaults(java.util.Map<java.lang.String,java.lang.Object> defaults)
- Specified by:
addDefaults
in interfaceConfiguration
-
addDefaults
public void addDefaults(Configuration defaults)
- Specified by:
addDefaults
in interfaceConfiguration
-
setDefaults
public void setDefaults(Configuration defaults)
- Specified by:
setDefaults
in interfaceConfiguration
-
getDefaults
public Configuration getDefaults()
- Specified by:
getDefaults
in interfaceConfiguration
-
getParent
public ConfigurationSection getParent()
- Specified by:
getParent
in interfaceConfigurationSection
- Overrides:
getParent
in classMemorySection
-
options
public MemoryConfigurationOptions options()
- Specified by:
options
in interfaceConfiguration
-
-