Interface AppenderComponentBuilder
- All Superinterfaces:
Builder<Component>, ComponentBuilder<AppenderComponentBuilder>, FilterableComponentBuilder<AppenderComponentBuilder>
- All Known Implementing Classes:
DefaultAppenderComponentBuilder
public interface AppenderComponentBuilder
extends FilterableComponentBuilder<AppenderComponentBuilder>
Builder for constructing Appender Components.
- Since:
- 2.4
-
Method Summary
Modifier and TypeMethodDescriptionadd(LayoutComponentBuilder builder) Adds a Layout to the Appender component.getName()Returns the name of the Appender.Methods inherited from interface Builder
build, getErrorPrefix, isValidMethods inherited from interface ComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, getBuilderMethods inherited from interface FilterableComponentBuilder
add
-
Method Details
-
add
Adds a Layout to the Appender component.- Parameters:
builder- The LayoutComponentBuilder with all of its attributes set.- Returns:
- this builder.
-
getName
String getName()Returns the name of the Appender.- Specified by:
getNamein interfaceComponentBuilder<AppenderComponentBuilder>- Returns:
- the name of the Appender.
-