Class Configuration
java.lang.Object
de.eldoria.eldoutilities.configuration.EldoConfig
de.eldoria.eldoutilities.configuration.Configuration
Wrapper class for EldoConfig. Can be used as default and unconfigured config.
-
Field Summary
Fields inherited from class de.eldoria.eldoutilities.configuration.EldoConfig
plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
Called after constructor and before reload.protected void
Invalidates the cached config objects and reloads.protected void
Write objects to file configs.Methods inherited from class de.eldoria.eldoutilities.configuration.EldoConfig
getConfig, getConfigs, getLogLevel, getMainConfig, getPlugin, getVersion, isMainConfig, loadConfig, loadConfig, reload, save, setIfAbsent, setIfAbsent, setVersion
-
Constructor Details
-
Configuration
-
-
Method Details
-
saveConfigs
protected void saveConfigs()Description copied from class:EldoConfig
Write objects to file configs.This message will be called first, when
EldoConfig.save()
is called.EldoConfig.writeConfigs()
will be called afterwards.- Overrides:
saveConfigs
in classEldoConfig
-
reloadConfigs
protected void reloadConfigs()Description copied from class:EldoConfig
Invalidates the cached config objects and reloads.Called after
EldoConfig.readConfigs()
}.All configs are already reloaded.
- Overrides:
reloadConfigs
in classEldoConfig
-
init
protected void init()Description copied from class:EldoConfig
Called after constructor and before reload.Initialize everything here.
- Overrides:
init
in classEldoConfig
-