Class TigerJexlExecutor

java.lang.Object
de.gematik.test.tiger.common.jexl.TigerJexlExecutor

public class TigerJexlExecutor extends Object
  • Method Details

    • matchesAsJexlExpression

      public static boolean matchesAsJexlExpression(Object element, String jexlExpression)
    • matchesAsJexlExpression

      public static boolean matchesAsJexlExpression(Object element, String jexlExpression, Optional<String> keyInParentElement)
    • matchesAsJexlExpression

      public static boolean matchesAsJexlExpression(String jexlExpression, TigerJexlContext context)
    • evaluateJexlExpression

      public static Optional<Object> evaluateJexlExpression(String jexlExpression, TigerJexlContext context)
    • addContextDecorator

      public static void addContextDecorator(TigerJexlContextDecorator decorator)
    • createNewExecutor

      public static TigerJexlExecutor createNewExecutor()
    • buildJexlMapContext

      public static TigerJexlContext buildJexlMapContext(Object element, Optional<String> key)
    • registerAdditionalNamespace

      public static void registerAdditionalNamespace(String namespace, Object value)
    • deregisterNamespace

      public static void deregisterNamespace(String namespace)
    • printDebugMessage

      protected void printDebugMessage(Object element, String jexlExpression)
    • buildScript

      public org.apache.commons.jexl3.JexlScript buildScript(String jexlScript)
    • setActivateJexlDebugging

      public static void setActivateJexlDebugging(boolean activateJexlDebugging)
    • isActivateJexlDebugging

      public static boolean isActivateJexlDebugging()
    • setExpressionPreMapper

      public static void setExpressionPreMapper(BiFunction<String,TigerJexlContext,List<String>> expressionPreMapper)