Class SubConfig<R extends eu.okaeri.configs.OkaeriConfig>
java.lang.Object
eu.okaeri.configs.OkaeriConfig
xyz.srnyx.annoyingapi.file.okaeri.SubConfig<R>
- Direct Known Subclasses:
AnnoyingMessages.Error,AnnoyingMessages.Plugin,AnnoyingMessages.Plugin.Splitters,StorageConfig.Cache,StorageConfig.RemoteConnection
public class SubConfig<R extends eu.okaeri.configs.OkaeriConfig>
extends eu.okaeri.configs.OkaeriConfig
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.okaeri.configs.OkaeriConfig
asMap, asMap, asMap, configure, get, get, get, getBindFile, getBindFileName, getConfigurer, getContext, getDeclaration, getEffectiveConfigurer, getInternalPath, getInternalState, isSubconfig, load, load, load, load, load, load, load, load, load, migrate, migrate, migrateInternalState, migrateInternalState, save, save, save, saveDefaults, saveToBytes, saveToString, set, setBindFile, setConfigurer, setContext, setDeclaration, setInternalPath, setInternalState, update, updateDeclaration, validate, withBindFile, withBindFile, withBindFile, withConfigurer, withConfigurer, withLogger, withRemoveOrphans, withSerdesPack
-
Constructor Details
-
SubConfig
Okaeri Configs will do an "unsafe" initialization with default constructor (no args) for non-default value
-
-
Method Details
-
getRoot
Try the defaults-available root first, then the context root.
At least one of them should be non-null! -
save
- Overrides:
savein classeu.okaeri.configs.OkaeriConfig
-