@Plugin(name="PatternMatch", category="Core", printObject=true) public final class PatternMatch extends Object
Serializable
Modifier and Type | Class | Description |
---|---|---|
static class |
PatternMatch.Builder |
Constructor | Description |
---|---|
PatternMatch(String key,
String pattern) |
Constructs a key/value pair.
|
Modifier and Type | Method | 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-2018. 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.