public interface SizeLimitLogRotationPolicyCfgClient extends LogRotationPolicyCfgClient
Rotation policy based on the size of the log file.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends SizeLimitLogRotationPolicyCfgClient,? extends SizeLimitLogRotationPolicyCfg> |
definition()
Get the configuration definition associated with this Size Limit Log Rotation Policy.
|
ValueOrExpression<Long> |
getFileSizeLimit()
Gets the "file-size-limit" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
void |
setFileSizeLimit(ValueOrExpression<Long> value)
Sets the "file-size-limit" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
commit, properties
ManagedObjectDefinition<? extends SizeLimitLogRotationPolicyCfgClient,? extends SizeLimitLogRotationPolicyCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogRotationPolicyCfgClient
ValueOrExpression<Long> getFileSizeLimit()
Specifies the maximum size that a log file can reach before it is rotated.
void setFileSizeLimit(ValueOrExpression<Long> value) throws PropertyException
Specifies the maximum size that a log file can reach before it is rotated.
value
- The value of the "file-size-limit" property.PropertyException
- If the new value is invalid.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Size Limit Log Rotation Policy implementation.
getJavaClass
in interface LogRotationPolicyCfgClient
void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Size Limit Log Rotation Policy implementation.
setJavaClass
in interface LogRotationPolicyCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright 2010-2018 ForgeRock AS.