Interface LogRetentionPolicyCfg
-
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
FileCountLogRetentionPolicyCfg
,FreeDiskSpaceLogRetentionPolicyCfg
,SizeLimitLogRetentionPolicyCfg
public interface LogRetentionPolicyCfg extends Configuration
A server-side interface for querying Log Retention Policy settings.Log Retention Policies are used to specify when log files should be cleaned.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(ConfigurationChangeListener<LogRetentionPolicyCfg> listener)
Register to be notified when this Log Retention Policy is changed.Class<? extends LogRetentionPolicyCfg>
configurationClass()
Gets the configuration class associated with this Log Retention Policy.String
getJavaClass()
Gets the "java-class" property.void
removeChangeListener(ConfigurationChangeListener<LogRetentionPolicyCfg> listener)
Deregister an existing Log Retention Policy configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends LogRetentionPolicyCfg> configurationClass()
Gets the configuration class associated with this Log Retention Policy.- Specified by:
configurationClass
in interfaceConfiguration
- Returns:
- Returns the configuration class associated with this Log Retention Policy.
-
addChangeListener
void addChangeListener(ConfigurationChangeListener<LogRetentionPolicyCfg> listener)
Register to be notified when this Log Retention Policy is changed.- Parameters:
listener
- The Log Retention Policy configuration change listener.
-
removeChangeListener
void removeChangeListener(ConfigurationChangeListener<LogRetentionPolicyCfg> listener)
Deregister an existing Log Retention Policy configuration change listener.- Parameters:
listener
- The Log Retention Policy configuration change listener.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Log Retention Policy implementation.
- Returns:
- Returns the value of the "java-class" property.
-
-