@Plugin(name="org.apache.log4j.rolling.SizeBasedTriggeringPolicy", category="Log4j Builder") public class SizeBasedTriggeringPolicyBuilder extends AbstractBuilder<TriggeringPolicy> implements TriggeringPolicyBuilder
APPEND_PARAM, BUFFER_SIZE_PARAM, BUFFERED_IO_PARAM, FILE_PARAM, IMMEDIATE_FLUSH_PARAM, MAX_BACKUP_INDEX, NULL, RELATIVE
Constructor and Description |
---|
SizeBasedTriggeringPolicyBuilder() |
SizeBasedTriggeringPolicyBuilder(String prefix,
Properties props) |
Modifier and Type | Method and Description |
---|---|
SizeBasedTriggeringPolicy |
parse(Element element,
XmlConfiguration configuration)
Parses a DOM Element.
|
SizeBasedTriggeringPolicy |
parse(PropertiesConfiguration configuration)
Parses a PropertiesConfigurationt.
|
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getLongProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, set, substVars
public SizeBasedTriggeringPolicyBuilder()
public SizeBasedTriggeringPolicyBuilder(String prefix, Properties props)
public SizeBasedTriggeringPolicy parse(Element element, XmlConfiguration configuration)
Parser
parse
in interface Parser<TriggeringPolicy>
element
- the DOM Element.configuration
- the XML configuration.public SizeBasedTriggeringPolicy parse(PropertiesConfiguration configuration)
Parser
parse
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.