Interface LogRotationPolicyCfgClient
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
FixedTimeLogRotationPolicyCfgClient
,SizeLimitLogRotationPolicyCfgClient
,TimeLimitLogRotationPolicyCfgClient
A client-side interface for reading and modifying Log Rotation
Policy settings.
Log Rotation Policies are used to specify when log files should be rotated.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends LogRotationPolicyCfgClient,
? extends LogRotationPolicyCfg> Get the configuration definition associated with this Log Rotation 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 LogRotationPolicyCfgClient,? extends LogRotationPolicyCfg> definition()Get the configuration definition associated with this Log Rotation Policy.- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Log Rotation Policy.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Log Rotation 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 Rotation Policy implementation.
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-