public abstract class JsonConfigurable<T> extends java.lang.Object implements JsonConfigurableInterface<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.Path |
configPath |
| Constructor and Description |
|---|
JsonConfigurable(java.lang.reflect.Type type,
java.nio.file.Path configPath) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
getConfig() |
abstract T |
getDefaultConfig() |
java.nio.file.Path |
getPath() |
java.lang.reflect.Type |
getType() |
abstract void |
setConfig(T config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateConfigIfNotExists, generateConfigIfNotExists, loadConfig, loadConfig, loadConfig, resetConfig, resetConfig, saveConfig, saveConfig, saveConfigpublic JsonConfigurable(java.lang.reflect.Type type,
java.nio.file.Path configPath)
public java.nio.file.Path getPath()
getPath in interface JsonConfigurableInterface<T>public java.lang.reflect.Type getType()
getType in interface JsonConfigurableInterface<T>public abstract T getConfig()
getConfig in interface JsonConfigurableInterface<T>public abstract T getDefaultConfig()
getDefaultConfig in interface JsonConfigurableInterface<T>public abstract void setConfig(T config)
setConfig in interface JsonConfigurableInterface<T>