Interface ConfigurationProvider
public interface ConfigurationProvider
-
Method Summary
Modifier and TypeMethodDescriptionconfigs()
Returns all registered configs.void
Registers a config to be saved or reloaded whenreloadConfigs()
is called.void
Reloads the configuration files.
-
Method Details
-
register
Registers a config to be saved or reloaded whenreloadConfigs()
is called.- Parameters:
config
- the config to register
-
configs
Collection<Config> configs()Returns all registered configs.- Returns:
- unmodifiable collection of all registered configs
-
reloadConfigs
void reloadConfigs()Reloads the configuration files.
-