|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface JexlEngine.Options
Script evaluation options.
The JexlContext used for evaluation can implement this interface to alter behavior.
| Method Summary | |
|---|---|
MathContext |
getArithmeticMathContext()
The MathContext instance used for +,-,/,*,% operations on big decimals. |
int |
getArithmeticMathScale()
The BigDecimal scale used for comparison and coercion operations. |
Charset |
getCharset()
The charset used for parsing. |
Boolean |
isCancellable()
Whether evaluation will throw JexlException.Cancel (true) or return null (false) when interrupted. |
Boolean |
isSilent()
Sets whether the engine will throw a JexlException when an error is encountered during evaluation. |
Boolean |
isStrict()
Checks whether the engine considers unknown variables, methods, functions and constructors as errors or evaluates them as null. |
Boolean |
isStrictArithmetic()
Checks whether the arithmetic triggers errors during evaluation when null is used as an operand. |
| Method Detail |
|---|
Charset getCharset()
Boolean isSilent()
JexlException when an error is encountered during evaluation.
Boolean isStrict()
Boolean isStrictArithmetic()
Boolean isCancellable()
MathContext getArithmeticMathContext()
int getArithmeticMathScale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||