Interface LogRetentionPolicyCfgClient
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
FileCountLogRetentionPolicyCfgClient
,FreeDiskSpaceLogRetentionPolicyCfgClient
,SizeLimitLogRetentionPolicyCfgClient
A client-side interface for reading and modifying Log Retention
Policy settings.
Log Retention Policies are used to specify when log files should be cleaned.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends LogRetentionPolicyCfgClient,
? extends LogRetentionPolicyCfg> Get the configuration definition associated with this Log Retention Policy.Gets the "java-class" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends LogRetentionPolicyCfgClient,? extends LogRetentionPolicyCfg> definition()Get the configuration definition associated with this Log Retention Policy.- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Log Retention Policy.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Log Retention Policy implementation.
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Log Retention Policy implementation.
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-