Interface FilterableComponentBuilder<T extends ComponentBuilder<T>>
- All Superinterfaces:
Builder<Component>,ComponentBuilder<T>
- All Known Subinterfaces:
AppenderComponentBuilder,AppenderRefComponentBuilder,CompositeFilterComponentBuilder,LoggableComponentBuilder<T>,LoggerComponentBuilder,RootLoggerComponentBuilder
public interface FilterableComponentBuilder<T extends ComponentBuilder<T>>
extends ComponentBuilder<T>
Component builder that can add Filters. Similar in idea to the
Filterable.- Since:
- 2.6
-
Method Summary
Modifier and TypeMethodDescriptionadd(FilterComponentBuilder assembler) Adds a Filter to the component.Methods inherited from interface org.apache.logging.log4j.core.util.Builder
build, getErrorPrefix, isValidMethods inherited from interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, getBuilder, getName
-
Method Details
-
add
Adds a Filter to the component.- Parameters:
assembler- The FilterComponentBuilder with all of its attributes and sub components set.- Returns:
- this Assembler.
-