Class TigerJexlExecutor

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

public class TigerJexlExecutor extends Object
  • Field Details

    • ACTIVATE_JEXL_DEBUGGING

      public static boolean ACTIVATE_JEXL_DEBUGGING
    • executorSupplier

      public static Supplier<TigerJexlExecutor> executorSupplier
  • Constructor Details

    • TigerJexlExecutor

      public TigerJexlExecutor()
  • 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)
    • printDebugMessage

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

      protected TigerJexlContext buildJexlMapContext(Object element, Optional<String> key)
    • getContent

      protected String getContent(Object element)
    • buildExpression

      protected org.apache.commons.jexl3.JexlExpression buildExpression(String jexlExpression, TigerJexlContext mapContext)
    • buildScript

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

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

      public static void deregisterNamespace(String namespace)