|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MatchingMode> eu.planets_project.ifr.core.servreg.api.MatchingMode
public enum MatchingMode
Matching modes as a strategy enumeration.
Enum Constant Summary | |
---|---|
EXACT
Exact string comparison, case-insensitive. |
|
REGEX
String comparison based on regular expressions (case-insensitive). |
|
WILDCARD
Wildcard string comparison, e.g. |
Method Summary | |
---|---|
abstract boolean |
matches(java.lang.String value,
java.lang.String pattern)
|
static MatchingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MatchingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MatchingMode EXACT
public static final MatchingMode WILDCARD
public static final MatchingMode REGEX
Method Detail |
---|
public static MatchingMode[] values()
for (MatchingMode c : MatchingMode.values()) System.out.println(c);
public static MatchingMode 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 name
java.lang.NullPointerException
- if the argument is nullpublic abstract boolean matches(java.lang.String value, java.lang.String pattern)
value
- The value to match the pattern againstpattern
- The pattern to match against
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |