Class TigerJexlExecutor
java.lang.Object
de.gematik.test.tiger.common.jexl.TigerJexlExecutor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.jexl3.JexlExpressionbuildExpression(String jexlExpression, TigerJexlContext mapContext) protected TigerJexlContextbuildJexlMapContext(Object element, Optional<String> key) org.apache.commons.jexl3.JexlScriptbuildScript(String jexlScript) static voidderegisterNamespace(String namespace) evaluateJexlExpression(String jexlExpression, TigerJexlContext context) protected StringgetContent(Object element) static 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)
-
Field Details
-
ACTIVATE_JEXL_DEBUGGING
public static boolean ACTIVATE_JEXL_DEBUGGING -
executorSupplier
-
-
Constructor Details
-
TigerJexlExecutor
public TigerJexlExecutor()
-
-
Method Details
-
matchesAsJexlExpression
-
matchesAsJexlExpression
-
matchesAsJexlExpression
-
evaluateJexlExpression
public static Optional<Object> evaluateJexlExpression(String jexlExpression, TigerJexlContext context) -
printDebugMessage
-
buildJexlMapContext
-
getContent
-
buildExpression
protected org.apache.commons.jexl3.JexlExpression buildExpression(String jexlExpression, TigerJexlContext mapContext) -
buildScript
-
registerAdditionalNamespace
-
deregisterNamespace
-