Class AppenderSet.Builder
- java.lang.Object
-
- org.apache.logging.log4j.core.appender.AppenderSet.Builder
-
- All Implemented Interfaces:
Builder<AppenderSet>
- Enclosing class:
- AppenderSet
public static class AppenderSet.Builder extends Object implements Builder<AppenderSet>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppenderSet
build()
Builds the object after all configuration has been set.Configuration
getConfiguration()
Node
getNode()
String
toString()
AppenderSet.Builder
withConfiguration(Configuration configuration)
AppenderSet.Builder
withNode(Node node)
-
-
-
Method Detail
-
build
public AppenderSet build()
Description copied from interface:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<AppenderSet>
- Returns:
- the configured instance.
-
getNode
public Node getNode()
-
getConfiguration
public Configuration getConfiguration()
-
withNode
public AppenderSet.Builder withNode(Node node)
-
withConfiguration
public AppenderSet.Builder withConfiguration(Configuration configuration)
-
-