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
- Since:
- 2.4.1 implements
Serializable - See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object after all configuration has been set.protected ObjectsetPattern(String pattern) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
getErrorPrefix, isValid
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
key
-
pattern
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setKey
-
setPattern
-
build
Description copied from interface:BuilderBuilds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
buildin interfaceBuilder<PatternMatch>- Returns:
- the configured instance.
-
readResolve
- Throws:
ObjectStreamException
-