Module net.morimekta.config
Package net.morimekta.config
Interface ConfigChangeListener<ConfigEntry>
- Type Parameters:
ConfigEntry- The config entry type.
public interface ConfigChangeListener<ConfigEntry>
Listener for changes to config.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonConfigChange(ConfigChangeType changeType, ConfigEntry config) Called on changes to config.
-
Method Details
-
onConfigChange
Called on changes to config.- Parameters:
changeType- The type of change.config- The created or updated config on new content, and the last known config on deleted config.- Throws:
ConfigException- when failing to handle the updated config.
-