org.opends.server.admin.std.client
Interface FileCountLogRetentionPolicyCfgClient

All Superinterfaces:
ConfigurationClient, LogRetentionPolicyCfgClient

public interface FileCountLogRetentionPolicyCfgClient
extends LogRetentionPolicyCfgClient

A client-side interface for reading and modifying File Count Log Retention Policy settings.

Retention policy based on the number of rotated log files on disk.


Method Summary
 ManagedObjectDefinition<? extends FileCountLogRetentionPolicyCfgClient,? extends FileCountLogRetentionPolicyCfg> definition()
          Get the configuration definition associated with this File Count Log Retention Policy.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.lang.Integer getNumberOfFiles()
          Gets the "number-of-files" property.
 void setJavaClass(java.lang.String value)
          Sets the "java-class" property.
 void setNumberOfFiles(int value)
          Sets the "number-of-files" property.
 
Methods inherited from interface org.opends.server.admin.ConfigurationClient
commit, properties
 

Method Detail

definition

ManagedObjectDefinition<? extends FileCountLogRetentionPolicyCfgClient,? extends FileCountLogRetentionPolicyCfg> definition()
Get the configuration definition associated with this File Count Log Retention Policy.

Specified by:
definition in interface ConfigurationClient
Specified by:
definition in interface LogRetentionPolicyCfgClient
Returns:
Returns the configuration definition associated with this File Count Log Retention Policy.

getJavaClass

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

Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.

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

setJavaClass

void setJavaClass(java.lang.String value)
                  throws IllegalPropertyValueException
Sets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.

Specified by:
setJavaClass in interface LogRetentionPolicyCfgClient
Parameters:
value - The value of the "java-class" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getNumberOfFiles

java.lang.Integer getNumberOfFiles()
Gets the "number-of-files" property.

Specifies the number of archived log files to retain before the oldest ones are cleaned.

Returns:
Returns the value of the "number-of-files" property.

setNumberOfFiles

void setNumberOfFiles(int value)
                      throws IllegalPropertyValueException
Sets the "number-of-files" property.

Specifies the number of archived log files to retain before the oldest ones are cleaned.

Parameters:
value - The value of the "number-of-files" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.