org.opends.server.admin.std.server
Interface LogRotationPolicyCfg

All Superinterfaces:
Configuration
All Known Subinterfaces:
FixedTimeLogRotationPolicyCfg, SizeLimitLogRotationPolicyCfg, TimeLimitLogRotationPolicyCfg

public interface LogRotationPolicyCfg
extends Configuration

A server-side interface for querying Log Rotation Policy settings.

Log Rotation Policies are used to specify when log files should be rotated.


Method Summary
 void addChangeListener(ConfigurationChangeListener<LogRotationPolicyCfg> listener)
          Register to be notified when this Log Rotation Policy is changed.
 java.lang.Class<? extends LogRotationPolicyCfg> configurationClass()
          Gets the configuration class associated with this Log Rotation Policy.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 void removeChangeListener(ConfigurationChangeListener<LogRotationPolicyCfg> listener)
          Deregister an existing Log Rotation Policy configuration change listener.
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends LogRotationPolicyCfg> configurationClass()
Gets the configuration class associated with this Log Rotation Policy.

Specified by:
configurationClass in interface Configuration
Returns:
Returns the configuration class associated with this Log Rotation Policy.

addChangeListener

void addChangeListener(ConfigurationChangeListener<LogRotationPolicyCfg> listener)
Register to be notified when this Log Rotation Policy is changed.

Parameters:
listener - The Log Rotation Policy configuration change listener.

removeChangeListener

void removeChangeListener(ConfigurationChangeListener<LogRotationPolicyCfg> listener)
Deregister an existing Log Rotation Policy configuration change listener.

Parameters:
listener - The Log Rotation Policy configuration change listener.

getJavaClass

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

Specifies the fully-qualified name of the Java class that provides the Log Rotation Policy implementation.

Returns:
Returns the value of the "java-class" property.