Package org.apache.commons.jexl3
Interface JexlEngine.Options
-
- Enclosing class:
- JexlEngine
@Deprecated public static interface JexlEngine.OptionsDeprecated.3.2Script evaluation options.The JexlContext used for evaluation can implement this interface to alter behavior.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.math.MathContextgetArithmeticMathContext()Deprecated.The MathContext instance used for +,-,/,*,% operations on big decimals.intgetArithmeticMathScale()Deprecated.The BigDecimal scale used for comparison and coercion operations.java.nio.charset.CharsetgetCharset()Deprecated.The charset used for parsing.java.lang.BooleanisCancellable()Deprecated.Tests whether evaluation will throw JexlException.Cancel (true) or return null (false) when interrupted.java.lang.BooleanisSilent()Deprecated.Tests whether the engine will throw aJexlExceptionwhen an error is encountered during evaluation.java.lang.BooleanisStrict()Deprecated.Tests whether the engine considers unknown variables, methods, functions and constructors as errors or evaluates them as null.java.lang.BooleanisStrictArithmetic()Deprecated.Tests whether the arithmetic triggers errors during evaluation when null is used as an operand.
-
-
-
Method Detail
-
getArithmeticMathContext
java.math.MathContext getArithmeticMathContext()
Deprecated.The MathContext instance used for +,-,/,*,% operations on big decimals.- Returns:
- the math context
-
getArithmeticMathScale
int getArithmeticMathScale()
Deprecated.The BigDecimal scale used for comparison and coercion operations.- Returns:
- the scale
-
getCharset
java.nio.charset.Charset getCharset()
Deprecated.The charset used for parsing.- Returns:
- the charset
-
isCancellable
java.lang.Boolean isCancellable()
Deprecated.Tests whether evaluation will throw JexlException.Cancel (true) or return null (false) when interrupted.- Returns:
- true when cancellable, false otherwise
- Since:
- 3.1
-
isSilent
java.lang.Boolean isSilent()
Deprecated.Tests whether the engine will throw aJexlExceptionwhen an error is encountered during evaluation.- Returns:
- true if silent, false otherwise
-
isStrict
java.lang.Boolean isStrict()
Deprecated.Tests whether the engine considers unknown variables, methods, functions and constructors as errors or evaluates them as null.- Returns:
- true if strict, false otherwise
-
isStrictArithmetic
java.lang.Boolean isStrictArithmetic()
Deprecated.Tests whether the arithmetic triggers errors during evaluation when null is used as an operand.- Returns:
- true if strict, false otherwise
-
-