public static enum Condition.KeyMatchType extends Enum<Condition.KeyMatchType>
Condition.KeyCondition
matches a given key.Enum Constant and Description |
---|
EQ
The key needs to be equal to the given label.
|
FALSE
The key needs to have a false value (no, ...)
|
REGEX
The key needs to match the given regular expression.
|
TRUE
The key needs to have a true value (yes, ...)
|
Modifier and Type | Method and Description |
---|---|
static Condition.KeyMatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition.KeyMatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition.KeyMatchType EQ
public static final Condition.KeyMatchType TRUE
OsmUtils.isTrue(String)
public static final Condition.KeyMatchType FALSE
OsmUtils.isFalse(String)
public static final Condition.KeyMatchType REGEX
public static Condition.KeyMatchType[] values()
for (Condition.KeyMatchType c : Condition.KeyMatchType.values()) System.out.println(c);
public static Condition.KeyMatchType 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 null