public static enum YamlProcessor.MatchStatus extends Enum<YamlProcessor.MatchStatus>
YamlProcessor.DocumentMatcher.matches(java.util.Properties)
.Enum Constant and Description |
---|
ABSTAIN
The matcher should not be considered.
|
FOUND
A match was found.
|
NOT_FOUND
No match was found.
|
Modifier and Type | Method and Description |
---|---|
static YamlProcessor.MatchStatus |
getMostSpecific(YamlProcessor.MatchStatus a,
YamlProcessor.MatchStatus b)
Compare two
YamlProcessor.MatchStatus items, returning the most specific status. |
static YamlProcessor.MatchStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YamlProcessor.MatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YamlProcessor.MatchStatus FOUND
public static final YamlProcessor.MatchStatus NOT_FOUND
public static final YamlProcessor.MatchStatus ABSTAIN
public static YamlProcessor.MatchStatus[] values()
for (YamlProcessor.MatchStatus c : YamlProcessor.MatchStatus.values()) System.out.println(c);
public static YamlProcessor.MatchStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static YamlProcessor.MatchStatus getMostSpecific(YamlProcessor.MatchStatus a, YamlProcessor.MatchStatus b)
YamlProcessor.MatchStatus
items, returning the most specific status.