Class SimpleConfigurable<T>
java.lang.Object
pro.gravit.launcher.base.config.JsonConfigurable<T>
pro.gravit.launcher.base.config.SimpleConfigurable<T>
- All Implemented Interfaces:
JsonConfigurableInterface<T>
-
Field Summary
FieldsFields inherited from class JsonConfigurable
configPath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JsonConfigurable
getPath, getTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JsonConfigurableInterface
generateConfigIfNotExists, generateConfigIfNotExists, loadConfig, loadConfig, loadConfig, resetConfig, resetConfig, saveConfig, saveConfig, saveConfig, toJsonString, toJsonStringModifier and TypeMethodDescriptiondefault booleandefault booleandefault voiddefault voidloadConfig(com.google.gson.Gson gson, Path configPath) default voidloadConfig(Path configPath) default voiddefault voidresetConfig(Path newPath) default voiddefault voidsaveConfig(com.google.gson.Gson gson, Path configPath) default voidsaveConfig(Path configPath) default Stringdefault StringtoJsonString(com.google.gson.Gson gson)
-
Field Details
-
config
-
-
Constructor Details
-
SimpleConfigurable
-
-
Method Details
-
getConfig
- Specified by:
getConfigin interfaceJsonConfigurableInterface<T>- Specified by:
getConfigin classJsonConfigurable<T>
-
setConfig
- Specified by:
setConfigin interfaceJsonConfigurableInterface<T>- Specified by:
setConfigin classJsonConfigurable<T>
-
getDefaultConfig
- Specified by:
getDefaultConfigin interfaceJsonConfigurableInterface<T>- Specified by:
getDefaultConfigin classJsonConfigurable<T>
-