public static enum ConditionFactory.KeyMatchType extends java.lang.Enum<ConditionFactory.KeyMatchType>
ConditionFactory.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 ConditionFactory.KeyMatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConditionFactory.KeyMatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionFactory.KeyMatchType EQ
public static final ConditionFactory.KeyMatchType TRUE
OsmUtils.isTrue(String)
public static final ConditionFactory.KeyMatchType FALSE
OsmUtils.isFalse(String)
public static final ConditionFactory.KeyMatchType REGEX
public static ConditionFactory.KeyMatchType[] values()
for (ConditionFactory.KeyMatchType c : ConditionFactory.KeyMatchType.values()) System.out.println(c);
public static ConditionFactory.KeyMatchType 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 null