Interface JsonFileHTTPAccessLogPublisherCfg
-
- All Superinterfaces:
Configuration,HTTPAccessLogPublisherCfg,LogPublisherCfg
public interface JsonFileHTTPAccessLogPublisherCfg extends HTTPAccessLogPublisherCfg
A server-side interface for querying Json File HTTP Access Log Publisher settings.Json File HTTP Access Log Publishers Publish access messages to Json files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddJsonFileHTTPAccessChangeListener(ConfigurationChangeListener<JsonFileHTTPAccessLogPublisherCfg> listener)Register to be notified when this Json File HTTP Access Log Publisher is changed.Class<? extends JsonFileHTTPAccessLogPublisherCfg>configurationClass()Gets the configuration class associated with this Json File HTTP Access Log Publisher.StringgetJavaClass()Gets the "java-class" property.StringgetLogDirectory()Gets the "log-directory" property.SortedSet<String>getRetentionPolicy()Gets the "retention-policy" property.SortedSet<org.forgerock.opendj.ldap.DN>getRetentionPolicyDNs()Gets the "retention-policy" property as a set of DNs.SortedSet<String>getRotationPolicy()Gets the "rotation-policy" property.SortedSet<org.forgerock.opendj.ldap.DN>getRotationPolicyDNs()Gets the "rotation-policy" property as a set of DNs.voidremoveJsonFileHTTPAccessChangeListener(ConfigurationChangeListener<JsonFileHTTPAccessLogPublisherCfg> listener)Deregister an existing Json File HTTP Access Log Publisher configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.HTTPAccessLogPublisherCfg
addHTTPAccessChangeListener, removeHTTPAccessChangeListener
-
Methods inherited from interface org.forgerock.opendj.server.config.server.LogPublisherCfg
addChangeListener, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends JsonFileHTTPAccessLogPublisherCfg> configurationClass()
Gets the configuration class associated with this Json File HTTP Access Log Publisher.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceHTTPAccessLogPublisherCfg- Specified by:
configurationClassin interfaceLogPublisherCfg- Returns:
- Returns the configuration class associated with this Json File HTTP Access Log Publisher.
-
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:
getJavaClassin interfaceHTTPAccessLogPublisherCfg- Specified by:
getJavaClassin interfaceLogPublisherCfg- 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.
-
-