public interface ConfigContainer
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<ConfigProvider> |
getAll()
NotNull
|
<T> ConfigProvider |
getByClass(java.lang.Class<T> klass) |
ConfigProvider |
getByInstance(java.lang.Object instance)
Nullable
|
ConfigProvider |
getByName(java.lang.String name)
Nullable
|
void |
load()
load config
|
void |
save()
save config
|
java.util.ArrayList<ConfigProvider> getAll()
ConfigProvider getByName(java.lang.String name)
name
- config nameConfigProvider getByInstance(java.lang.Object instance)
instance
- config<T> ConfigProvider getByClass(java.lang.Class<T> klass)
T
- configklass
- classvoid load()
void save()