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, properties
ManagedObjectDefinition<? extends FileCountLogRetentionPolicyCfgClient,? extends FileCountLogRetentionPolicyCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogRetentionPolicyCfgClient
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.
getJavaClass
in interface LogRetentionPolicyCfgClient
void 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 LogRetentionPolicyCfgClient
value
- 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 © 2010-2016 ForgeRock AS. All Rights Reserved.