Interface ConfigurationChangeListener<T extends Configuration>

    • Method Detail

      • isConfigurationChangeAcceptable

        boolean isConfigurationChangeAcceptable​(T configuration,
                                                List<LocalizableMessage> unacceptableReasons)
        Indicates whether the proposed change to the configuration is acceptable to this change listener.
        Parameters:
        configuration - The new configuration containing the changes.
        unacceptableReasons - A list that can be used to hold messages about why the provided configuration is not acceptable.
        Returns:
        Returns true if the proposed change is acceptable, or false if it is not.
      • applyConfigurationChange

        ConfigChangeResult applyConfigurationChange​(T configuration)
        Applies the configuration changes to this change listener.
        Parameters:
        configuration - The new configuration containing the changes.
        Returns:
        Returns information about the result of changing the configuration.