public enum JexlMissingValueTreatment extends java.lang.Enum<JexlMissingValueTreatment>
Enum Constant and Description |
---|
THROW
Treat expressions with a missing value as an error and throw an
IllegalArgumentException |
TREAT_AS_MATCH
Treat expressions with a missing value as a match and evaluate to true
|
TREAT_AS_MISMATCH
Treat expressions with a missing value as a mismatch and evaluate to false
|
Modifier and Type | Method and Description |
---|---|
static JexlMissingValueTreatment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JexlMissingValueTreatment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JexlMissingValueTreatment TREAT_AS_MISMATCH
public static final JexlMissingValueTreatment TREAT_AS_MATCH
public static final JexlMissingValueTreatment THROW
IllegalArgumentException
public static JexlMissingValueTreatment[] values()
for (JexlMissingValueTreatment c : JexlMissingValueTreatment.values()) System.out.println(c);
public static JexlMissingValueTreatment 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