Interface LogRotationPolicyCfgClient
-
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
FixedTimeLogRotationPolicyCfgClient
,SizeLimitLogRotationPolicyCfgClient
,TimeLimitLogRotationPolicyCfgClient
public interface LogRotationPolicyCfgClient extends ConfigurationClient
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends LogRotationPolicyCfgClient,? extends LogRotationPolicyCfg>
definition()
Get the configuration definition associated with this Log Rotation Policy.ValueOrExpression<String>
getJavaClass()
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 Detail
-
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
@MandatoryProperty ValueOrExpression<String> 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
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
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.
-
-