Class PatternMatch.Builder
java.lang.Object
org.apache.logging.log4j.core.layout.PatternMatch.Builder
- All Implemented Interfaces:
Serializable
,Builder<PatternMatch>
- Enclosing class:
- PatternMatch
public static class PatternMatch.Builder
extends Object
implements Builder<PatternMatch>, Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object after all configuration has been set.protected Object
setPattern
(String pattern) 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.util.Builder
getErrorPrefix, isValid
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setKey
-
setPattern
-
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<PatternMatch>
- Returns:
- the configured instance.
-
readResolve
- Throws:
ObjectStreamException
-