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.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
ValueOrExpression<Integer> |
getNumberOfFiles()
Gets the "number-of-files" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
void |
setNumberOfFiles(ValueOrExpression<Integer> value)
Sets the "number-of-files" property.
|
commit, properties
ManagedObjectDefinition<? extends FileCountLogRetentionPolicyCfgClient,? extends FileCountLogRetentionPolicyCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogRetentionPolicyCfgClient
ValueOrExpression<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(ValueOrExpression<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.ValueOrExpression<Integer> getNumberOfFiles()
Specifies the number of archived log files to retain before the oldest ones are cleaned.
void setNumberOfFiles(ValueOrExpression<Integer> 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-2018 ForgeRock AS.