@Plugin(name="PatternMatch", category="Core", printObject=true) public final class PatternMatch extends Object
Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PatternMatch.Builder |
Constructor and Description |
---|
PatternMatch(String key,
String pattern)
Constructs a key/value pair.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKey()
Returns the key.
|
String |
getPattern()
Returns the pattern.
|
int |
hashCode() |
static PatternMatch.Builder |
newBuilder() |
String |
toString() |
public String getKey()
public String getPattern()
@PluginBuilderFactory public static PatternMatch.Builder newBuilder()
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.