@Plugin(name="org.apache.log4j.rolling.TimeBasedRollingPolicy", category="Log4j Builder") public class TimeBasedRollingPolicyBuilder extends AbstractBuilder<TriggeringPolicy> implements TriggeringPolicyBuilder
APPEND_PARAM, BUFFER_SIZE_PARAM, BUFFERED_IO_PARAM, FILE_PARAM, IMMEDIATE_FLUSH_PARAM, MAX_BACKUP_INDEX, MAX_SIZE_PARAM, NULL, RELATIVE| Constructor and Description |
|---|
TimeBasedRollingPolicyBuilder() |
TimeBasedRollingPolicyBuilder(String prefix,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
TimeBasedTriggeringPolicy |
parse(Element element,
XmlConfiguration configuration)
Parses a DOM Element.
|
TimeBasedTriggeringPolicy |
parse(PropertiesConfiguration configuration)
Parses a PropertiesConfigurationt.
|
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getLongProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, set, substVarspublic TimeBasedRollingPolicyBuilder(String prefix, Properties props)
public TimeBasedRollingPolicyBuilder()
public TimeBasedTriggeringPolicy parse(Element element, XmlConfiguration configuration)
Parserparse in interface Parser<TriggeringPolicy>element - the DOM Element.configuration - the XML configuration.public TimeBasedTriggeringPolicy parse(PropertiesConfiguration configuration)
Parserparse in interface Parser<TriggeringPolicy>Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.