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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonConfigChange(ConfigChangeType changeType, ConfigEntry config)Called on changes to config.
-
-
-
Method Detail
-
onConfigChange
void onConfigChange(ConfigChangeType changeType, ConfigEntry config)
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.
-
-