@Plugin(name="PatternMatch", category="Core", printObject=true) public final class PatternMatch extends Object implements Serializable
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() |
protected Object |
writeReplace() |
public String getKey()
public String getPattern()
@PluginBuilderFactory public static PatternMatch.Builder newBuilder()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © 1999-2017 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.