Interface JsonFileHTTPAccessLogPublisherCfg

    • Method Detail

      • addJsonFileHTTPAccessChangeListener

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

        void removeJsonFileHTTPAccessChangeListener​(ConfigurationChangeListener<JsonFileHTTPAccessLogPublisherCfg> listener)
        Deregister an existing Json File HTTP Access Log Publisher configuration change listener.
        Parameters:
        listener - The Json File HTTP 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 HTTP Access Log Publisher implementation.

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

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

        The directory to use for the log files generated by the Json File HTTP 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 HTTP 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 HTTP 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 HTTP 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 HTTP 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.