Class TigerJexlExecutor
java.lang.Object
de.gematik.test.tiger.common.jexl.TigerJexlExecutor
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddContextDecorator(TigerJexlContextDecorator decorator) static TigerJexlContextbuildJexlMapContext(Object element, Optional<String> key) org.apache.commons.jexl3.JexlScriptbuildScript(String jexlScript) static TigerJexlExecutorstatic voidderegisterNamespace(String namespace) evaluateJexlExpression(String jexlExpression, TigerJexlContext context) static booleanstatic booleanmatchesAsJexlExpression(Object element, String jexlExpression) static booleanmatchesAsJexlExpression(Object element, String jexlExpression, Optional<String> keyInParentElement) static booleanmatchesAsJexlExpression(String jexlExpression, TigerJexlContext context) protected voidprintDebugMessage(Object element, String jexlExpression) static voidregisterAdditionalNamespace(String namespace, Object value) static voidsetActivateJexlDebugging(boolean activateJexlDebugging) static voidsetExpressionPreMapper(BiFunction<String, TigerJexlContext, List<String>> expressionPreMapper)
-
Method Details
-
matchesAsJexlExpression
-
matchesAsJexlExpression
-
matchesAsJexlExpression
-
evaluateJexlExpression
public static Optional<Object> evaluateJexlExpression(String jexlExpression, TigerJexlContext context) -
addContextDecorator
-
createNewExecutor
-
buildJexlMapContext
-
registerAdditionalNamespace
-
deregisterNamespace
-
printDebugMessage
-
buildScript
-
setActivateJexlDebugging
public static void setActivateJexlDebugging(boolean activateJexlDebugging) -
isActivateJexlDebugging
public static boolean isActivateJexlDebugging() -
setExpressionPreMapper
public static void setExpressionPreMapper(BiFunction<String, TigerJexlContext, List<String>> expressionPreMapper)
-