Interface TimeLimitLogRotationPolicyCfgClient
-
- All Superinterfaces:
ConfigurationClient,LogRotationPolicyCfgClient
public interface TimeLimitLogRotationPolicyCfgClient extends LogRotationPolicyCfgClient
A client-side interface for reading and modifying Time Limit Log Rotation Policy settings.Rotation policy based on the time since last rotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends TimeLimitLogRotationPolicyCfgClient,? extends TimeLimitLogRotationPolicyCfg>definition()Get the configuration definition associated with this Time Limit Log Rotation Policy.ValueOrExpression<String>getJavaClass()Gets the "java-class" property.ValueOrExpression<Long>getRotationInterval()Gets the "rotation-interval" property.voidsetJavaClass(ValueOrExpression<String> value)Sets the "java-class" property.voidsetRotationInterval(ValueOrExpression<Long> value)Sets the "rotation-interval" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends TimeLimitLogRotationPolicyCfgClient,? extends TimeLimitLogRotationPolicyCfg> definition()
Get the configuration definition associated with this Time Limit Log Rotation Policy.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceLogRotationPolicyCfgClient- Returns:
- Returns the configuration definition associated with this Time Limit 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 Time Limit Log Rotation Policy implementation.
Default value:
org.opends.server.loggers.TimeLimitRotationPolicy- Specified by:
getJavaClassin interfaceLogRotationPolicyCfgClient- 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 Time Limit Log Rotation Policy implementation.
- Specified by:
setJavaClassin interfaceLogRotationPolicyCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getRotationInterval
@MandatoryProperty ValueOrExpression<Long> getRotationInterval()
Gets the "rotation-interval" property.Specifies the time interval between rotations.
- Returns:
- Returns the value of the "rotation-interval" property.
-
setRotationInterval
@MandatoryProperty void setRotationInterval(ValueOrExpression<Long> value) throws PropertyException
Sets the "rotation-interval" property.Specifies the time interval between rotations.
- Parameters:
value- The value of the "rotation-interval" property.- Throws:
PropertyException- If the new value is invalid.
-
-