Package htsjdk.variant.variantcontext
Enum Class JexlMissingValueTreatment
- All Implemented Interfaces:
Serializable
,Comparable<JexlMissingValueTreatment>
,Constable
How to treat values that appear in a jexl expression but are missing in the context it's applied to
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTreat expressions with a missing value as an error and throw anIllegalArgumentException
Treat expressions with a missing value as a match and evaluate to trueTreat expressions with a missing value as a mismatch and evaluate to false -
Method Summary
Modifier and TypeMethodDescriptionstatic JexlMissingValueTreatment
Returns the enum constant of this class with the specified name.static JexlMissingValueTreatment[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TREAT_AS_MISMATCH
Treat expressions with a missing value as a mismatch and evaluate to false -
TREAT_AS_MATCH
Treat expressions with a missing value as a match and evaluate to true -
THROW
Treat expressions with a missing value as an error and throw anIllegalArgumentException
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-