Interface FixedTimeLogRotationPolicyCfgClient
- All Superinterfaces:
ConfigurationClient,LogRotationPolicyCfgClient
A client-side interface for reading and modifying Fixed Time Log
Rotation Policy settings.
Rotation policy based on a fixed time of day.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends FixedTimeLogRotationPolicyCfgClient,? extends FixedTimeLogRotationPolicyCfg> Get the configuration definition associated with this Fixed Time Log Rotation Policy.Gets the "java-class" property.Gets the "time-of-day" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidsetTimeOfDay(Collection<ValueOrExpression<String>> values) Sets the "time-of-day" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends FixedTimeLogRotationPolicyCfgClient,? extends FixedTimeLogRotationPolicyCfg> definition()Get the configuration definition associated with this Fixed Time Log Rotation Policy.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceLogRotationPolicyCfgClient- Returns:
- Returns the configuration definition associated with this Fixed Time Log Rotation Policy.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Fixed Time Log Rotation Policy implementation.
Default value:
org.opends.server.loggers.FixedTimeRotationPolicy- Specified by:
getJavaClassin interfaceLogRotationPolicyCfgClient- 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 Fixed Time 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.
-
getTimeOfDay
Gets the "time-of-day" property.Specifies the time of day at which log rotation should occur.
- Returns:
- Returns the values of the "time-of-day" property.
-
setTimeOfDay
@MandatoryProperty void setTimeOfDay(Collection<ValueOrExpression<String>> values) throws PropertyException Sets the "time-of-day" property.Specifies the time of day at which log rotation should occur.
- Parameters:
values- The values of the "time-of-day" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-