Interface JsonFileAccessLogPublisherCfg

    • Method Detail

      • addJsonFileAccessChangeListener

        void addJsonFileAccessChangeListener​(ConfigurationChangeListener<JsonFileAccessLogPublisherCfg> listener)
        Register to be notified when this Json File Access Log Publisher is changed.
        Parameters:
        listener - The Json File Access Log Publisher configuration change listener.
      • removeJsonFileAccessChangeListener

        void removeJsonFileAccessChangeListener​(ConfigurationChangeListener<JsonFileAccessLogPublisherCfg> listener)
        Deregister an existing Json File Access Log Publisher configuration change listener.
        Parameters:
        listener - The Json File Access Log Publisher configuration change listener.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        The fully-qualified name of the Java class that provides the Json File Access Log Publisher implementation.

        Specified by:
        getJavaClass in interface AccessLogPublisherCfg
        Specified by:
        getJavaClass in interface LogPublisherCfg
        Returns:
        Returns the value of the "java-class" property.
      • isLogControlOids

        boolean isLogControlOids()
        Gets the "log-control-oids" property.

        Specifies whether control OIDs will be included in operation log records.

        Returns:
        Returns the value of the "log-control-oids" property.
      • getLogDirectory

        String getLogDirectory()
        Gets the "log-directory" property.

        The directory to use for the log files generated by the Json File Access Log Publisher. The path to the directory is relative to the server root.

        Returns:
        Returns the value of the "log-directory" property.
      • getRetentionPolicy

        SortedSet<String> getRetentionPolicy()
        Gets the "retention-policy" property.

        The retention policy to use for the Json File Access Log Publisher.

        When multiple policies are used, log files are cleaned when any of the policy's conditions are met.

        Returns:
        Returns an unmodifiable set containing the values of the "retention-policy" property.
      • getRetentionPolicyDNs

        SortedSet<org.forgerock.opendj.ldap.DN> getRetentionPolicyDNs()
        Gets the "retention-policy" property as a set of DNs.

        The retention policy to use for the Json File Access Log Publisher.

        When multiple policies are used, log files are cleaned when any of the policy's conditions are met.

        Returns:
        Returns the DN values of the "retention-policy" property.
      • getRotationPolicy

        SortedSet<String> getRotationPolicy()
        Gets the "rotation-policy" property.

        The rotation policy to use for the Json File Access Log Publisher.

        When multiple policies are used, rotation will occur if any policy's conditions are met.

        Returns:
        Returns an unmodifiable set containing the values of the "rotation-policy" property.
      • getRotationPolicyDNs

        SortedSet<org.forgerock.opendj.ldap.DN> getRotationPolicyDNs()
        Gets the "rotation-policy" property as a set of DNs.

        The rotation policy to use for the Json File Access Log Publisher.

        When multiple policies are used, rotation will occur if any policy's conditions are met.

        Returns:
        Returns the DN values of the "rotation-policy" property.