public class Match<T> extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DOT_WILDCARD |
static String |
WILDCARD |
static String |
WORD_WILDCARD |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getMatch() |
Pattern |
getPattern() |
T |
getValue() |
int |
hashCode() |
void |
setMatch(String match) |
void |
setValue(T value) |
static void |
verify(String match)
utility method to verify consistency of match
|
public static final String WORD_WILDCARD
public static final String WILDCARD
public static final String DOT_WILDCARD
public Match(String match)
public String getMatch()
public void setMatch(String match)
public Pattern getPattern()
public T getValue()
public void setValue(T value)
public static void verify(String match) throws IllegalArgumentException
match
- the match to validateIllegalArgumentException
- if a match isn't validCopyright © 2017 JBoss by Red Hat. All rights reserved.