Interface ConfigChangeListener<ConfigEntry>

Type Parameters:
ConfigEntry - The config entry type.

public interface ConfigChangeListener<ConfigEntry>
Listener for changes to config.
  • Method Details

    • onConfigChange

      void onConfigChange(ConfigChangeType changeType, ConfigEntry config) throws ConfigException
      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.