ConfigSupplier<ConfigType> |
ConfigSupplier.addChangeListener(ConfigChangeListener<ConfigType> listener) |
Add a config change listener.
|
ConfigSupplier<ConfigType> |
ConfigSupplier.addEventListener(ConfigEventListener listener) |
Add a config event change listener.
|
static <ConfigType> ConfigSupplier<ConfigType> |
ConfigSupplier.config(Class<ConfigType> type) |
Make a config supplier, and figure out file reader by detecting file type
and using default reader for the type.
|
static <ConfigType> ConfigSupplier<ConfigType> |
ConfigSupplier.config(Class<ConfigType> type,
Path file) |
Load a config file, and detect file type and using default reader for the type.
|
static <ConfigType> ConfigSupplier<ConfigType> |
ConfigSupplier.yamlConfig(Class<ConfigType> type) |
Load config as YAML, just using available jackson modules.
|
static <ConfigType> ConfigSupplier<ConfigType> |
ConfigSupplier.yamlConfig(Class<ConfigType> type,
Path file,
Consumer<com.fasterxml.jackson.databind.ObjectMapper> initMapper) |
Load config as YAML.
|
static <ConfigType> ConfigSupplier<ConfigType> |
ConfigSupplier.yamlConfig(Class<ConfigType> type,
Consumer<com.fasterxml.jackson.databind.ObjectMapper> initMapper) |
Load config as YAML.
|