Interface ConfigAddListener


  • public interface ConfigAddListener
    This interface defines the methods that a Directory Server component should implement if it wishes to be able to receive notification of new entries added below a configuration entry.
    • Method Detail

      • configAddIsAcceptable

        boolean configAddIsAcceptable​(Entry configEntry,
                                      LocalizableMessageBuilder unacceptableReason)
        Indicates whether the configuration entry that will result from a proposed add is acceptable to this add listener.
        Parameters:
        configEntry - The configuration entry that will result from the requested add.
        unacceptableReason - A buffer to which this method can append a human-readable message explaining why the proposed entry is not acceptable.
        Returns:
        true if the proposed entry contains an acceptable configuration, or false if it does not.
      • applyConfigurationAdd

        ConfigChangeResult applyConfigurationAdd​(Entry configEntry)
        Attempts to apply a new configuration based on the provided added entry.
        Parameters:
        configEntry - The new configuration entry that contains the configuration to apply.
        Returns:
        Information about the result of processing the configuration change.