Class ErrorLogAccountStatusNotificationHandler

    • Constructor Detail

      • ErrorLogAccountStatusNotificationHandler

        public ErrorLogAccountStatusNotificationHandler()
    • Method Detail

      • isConfigurationAcceptable

        public boolean isConfigurationAcceptable​(AccountStatusNotificationHandlerCfg configuration,
                                                 List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
        Description copied from class: AccountStatusNotificationHandler
        Indicates whether the provided configuration is acceptable for this account status notification handler. It should be possible to call this method on an uninitialized account status notification handler instance in order to determine whether the handler would be able to use the provided configuration.

        Note that implementations which use a subclass of the provided configuration class will likely need to cast the configuration to the appropriate subclass type.
        Overrides:
        isConfigurationAcceptable in class AccountStatusNotificationHandler<ErrorLogAccountStatusNotificationHandlerCfg>
        Parameters:
        configuration - The account status notification handler configuration for which to make the determination.
        unacceptableReasons - A list that may be used to hold the reasons that the provided configuration is not acceptable.
        Returns:
        true if the provided configuration is acceptable for this account status notification handler, or false if not.
      • applyConfigurationChange

        public ConfigChangeResult applyConfigurationChange​(ErrorLogAccountStatusNotificationHandlerCfg configuration,
                                                           boolean detailedResults)
        Makes a best-effort attempt to apply the configuration contained in the provided entry. Information about the result of this processing should be added to the provided message list. Information should always be added to this list if a configuration change could not be applied. If detailed results are requested, then information about the changes applied successfully (and optionally about parameters that were not changed) should also be included.
        Parameters:
        configuration - The entry containing the new configuration to apply for this component.
        detailedResults - Indicates whether detailed information about the processing should be added to the list.
        Returns:
        Information about the result of the configuration update.
      • processNotificationHandlerConfig

        public boolean processNotificationHandlerConfig​(ErrorLogAccountStatusNotificationHandlerCfg configuration,
                                                        boolean applyChanges)
        Parses the provided configuration and configure the notification handler.
        Parameters:
        configuration - The new configuration containing the changes.
        applyChanges - If true then take into account the new configuration.
        Returns:
        The mapping between strings of character set values and the minimum number of characters required from those sets.