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