public interface FileCountLogRetentionPolicyCfgClient extends LogRetentionPolicyCfgClient
Retention policy based on the number of rotated log files on disk.
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectDefinition<? extends FileCountLogRetentionPolicyCfgClient,? extends FileCountLogRetentionPolicyCfg> |
definition()
Get the configuration definition associated with this File Count Log Retention Policy.
|
String |
getJavaClass()
Gets the "java-class" property.
|
Integer |
getNumberOfFiles()
Gets the "number-of-files" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setNumberOfFiles(int value)
Sets the "number-of-files" property.
|
commit, propertiesManagedObjectDefinition<? extends FileCountLogRetentionPolicyCfgClient,? extends FileCountLogRetentionPolicyCfg> definition()
definition in interface ConfigurationClientdefinition in interface LogRetentionPolicyCfgClientString getJavaClass()
Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.
getJavaClass in interface LogRetentionPolicyCfgClientvoid setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.
setJavaClass in interface LogRetentionPolicyCfgClientvalue - The value of the "java-class" property.PropertyException - If the new value is invalid.Integer getNumberOfFiles()
Specifies the number of archived log files to retain before the oldest ones are cleaned.
void setNumberOfFiles(int value) throws PropertyException
Specifies the number of archived log files to retain before the oldest ones are cleaned.
value - The value of the "number-of-files" property.PropertyException - If the new value is invalid.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.