Interface ConfigurationMethods<T extends ConfigurationMethods<?>>
- All Known Subinterfaces:
ConfigurationSection
,ConfigurationSectionStandalone
- All Known Implementing Classes:
FeatureConfig
,KamiConfig
,KamiConfigExt
,MemorySection
,MemorySectionStandalone
,ModuleConfig
,StandaloneConfig
,StandaloneConfigExt
,SubsystemConfig
,YamlConfiguration
,YamlConfigurationStandalone
public interface ConfigurationMethods<T extends ConfigurationMethods<?>>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefault
(String key, Object o) boolean
getBigDecimal
(String key) getBigDecimal
(String key, BigDecimal def) boolean
getBoolean
(String key) boolean
getBoolean
(String key, boolean def) byte
byte
getByteList
(String key) getByteList
(String key, List<Byte> def) @NotNull ConfigurationSequence
<T> double
double
float
float
int
int
getIntegerList
(String key) getIntegerList
(String key, List<Integer> def) getKeys
(boolean deep) List
<?> List
<?> long
long
short
short
getStringList
(String key) getStringList
(String key, List<String> def) boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
putBoolean
(String key, boolean value) void
void
void
void
void
putInteger
(String key, int value) void
void
void
void
void
setBoolean
(String key, boolean value) void
void
setChanged
(boolean changed) void
void
void
void
setInteger
(String key, int value) void
void
void
-
Method Details
-
set
-
put
-
get
-
get
-
putString
-
putBoolean
-
putByte
-
putShort
-
putInteger
-
putInt
-
putLong
-
putDouble
-
putFloat
-
setString
-
setBoolean
-
setByte
-
setShort
-
setInteger
-
setInt
-
setLong
-
setDouble
-
setFloat
-
getConfigurationSection
-
getConfigurationSequence
-
getString
-
getString
-
isString
-
getInt
-
getInt
-
isInt
-
getBoolean
-
getBoolean
-
isBoolean
-
getDouble
-
getDouble
-
isDouble
-
getByte
-
getByte
-
isByte
-
getShort
-
getShort
-
isShort
-
getFloat
-
getFloat
-
isFloat
-
getLong
-
getLong
-
isLong
-
getList
-
getList
-
isList
-
getStringList
-
getStringList
-
getIntegerList
-
getIntegerList
-
getByteList
-
getByteList
-
getKeys
-
isConfigurationSection
-
contains
-
isSet
-
getBigDecimal
-
getBigDecimal
-
isNumber
-
addDefault
-
isEmpty
boolean isEmpty() -
getCurrentPath
String getCurrentPath() -
isChanged
boolean isChanged() -
setChanged
@Internal void setChanged(boolean changed)
-