org.opends.server.admin.std.server
Interface FixedTimeLogRotationPolicyCfg

All Superinterfaces:
Configuration, LogRotationPolicyCfg

public interface FixedTimeLogRotationPolicyCfg
extends LogRotationPolicyCfg

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

Rotation policy based on a fixed time of day.


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

Method Detail

configurationClass

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

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

addFixedTimeChangeListener

void addFixedTimeChangeListener(ConfigurationChangeListener<FixedTimeLogRotationPolicyCfg> listener)
Register to be notified when this Fixed Time Log Rotation Policy is changed.

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

removeFixedTimeChangeListener

void removeFixedTimeChangeListener(ConfigurationChangeListener<FixedTimeLogRotationPolicyCfg> listener)
Deregister an existing Fixed Time Log Rotation Policy configuration change listener.

Parameters:
listener - The Fixed Time 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 Fixed Time Log Rotation Policy implementation.

Specified by:
getJavaClass in interface LogRotationPolicyCfg
Returns:
Returns the value of the "java-class" property.

getTimeOfDay

java.util.SortedSet<java.lang.String> getTimeOfDay()
Gets the "time-of-day" property.

Specifies the time of day at which log rotation should occur.

Returns:
Returns an unmodifiable set containing the values of the "time-of-day" property.