public enum ValueMatch extends java.lang.Enum<ValueMatch> implements HasMessageKey
| Enum Constant and Description |
|---|
EXACT
Matches for exact text
|
LANGUAGE
Matches using language analysis, such as tokenization, stop words, etc.
|
TEXT
Matches partial texts using full-text search
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
static ValueMatch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueMatch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueMatch EXACT
public static final ValueMatch TEXT
public static final ValueMatch LANGUAGE
public static ValueMatch[] values()
for (ValueMatch c : ValueMatch.values()) System.out.println(c);
public static ValueMatch valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MessageKey getMessageKey()
getMessageKey in interface HasMessageKey