Interface ConfigurationDeleteListener<T extends Configuration>

    • Method Detail

      • isConfigurationDeleteAcceptable

        boolean isConfigurationDeleteAcceptable​(T configuration,
                                                List<LocalizableMessage> unacceptableReasons)
        Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.
        Parameters:
        configuration - The configuration that will be deleted.
        unacceptableReasons - A list that can be used to hold messages about why the provided configuration is not acceptable.
        Returns:
        Returns true if the proposed deletion is acceptable, or false if it is not.
      • applyConfigurationDelete

        ConfigChangeResult applyConfigurationDelete​(T configuration)
        Deletes an existing configuration from this delete listener.
        Parameters:
        configuration - The existing configuration that will be deleted.
        Returns:
        Returns information about the result of deleting the configuration.