Class DefaultCompositeFilterComponentBuilder
java.lang.Object
org.apache.logging.log4j.core.config.builder.impl.DefaultComponentBuilder<T,DefaultConfigurationBuilder<? extends Configuration>>
org.apache.logging.log4j.core.config.builder.impl.DefaultComponentAndConfigurationBuilder<CompositeFilterComponentBuilder>
org.apache.logging.log4j.core.config.builder.impl.DefaultCompositeFilterComponentBuilder
- All Implemented Interfaces:
ComponentBuilder<CompositeFilterComponentBuilder>
,CompositeFilterComponentBuilder
,FilterableComponentBuilder<CompositeFilterComponentBuilder>
,Builder<Component>
class DefaultCompositeFilterComponentBuilder
extends DefaultComponentAndConfigurationBuilder<CompositeFilterComponentBuilder>
implements CompositeFilterComponentBuilder
- Since:
- 2.4
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCompositeFilterComponentBuilder
(DefaultConfigurationBuilder<? extends Configuration> builder, String onMatch, String onMismatch) -
Method Summary
Modifier and TypeMethodDescriptionadd
(FilterComponentBuilder builder) Adds a Filter to the component.Methods inherited from class org.apache.logging.log4j.core.config.builder.impl.DefaultComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, build, getBuilder, getName, put
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, getBuilder, getName
-
Constructor Details
-
DefaultCompositeFilterComponentBuilder
public DefaultCompositeFilterComponentBuilder(DefaultConfigurationBuilder<? extends Configuration> builder, String onMatch, String onMismatch)
-
-
Method Details
-
add
Description copied from interface:FilterableComponentBuilder
Adds a Filter to the component.- Specified by:
add
in interfaceFilterableComponentBuilder<CompositeFilterComponentBuilder>
- Parameters:
builder
- The FilterComponentBuilder with all of its attributes and sub components set.- Returns:
- this Assembler.
-