Class FeelEngineImpl

java.lang.Object
org.camunda.bpm.dmn.feel.impl.juel.FeelEngineImpl
All Implemented Interfaces:
FeelEngine

public class FeelEngineImpl extends Object implements FeelEngine
  • Field Details

  • Constructor Details

  • Method Details

    • evaluateSimpleExpression

      public <T> T evaluateSimpleExpression(String simpleExpression, VariableContext variableContext)
      Description copied from interface: FeelEngine
      Evaluate a FEEL simple expression
      Specified by:
      evaluateSimpleExpression in interface FeelEngine
      Type Parameters:
      T - the expected return type
      Parameters:
      simpleExpression - the simple expression to evaluate
      variableContext - the variable context which are available
      Returns:
      the result of the simple expression
    • evaluateSimpleUnaryTests

      public boolean evaluateSimpleUnaryTests(String simpleUnaryTests, String inputName, VariableContext variableContext)
      Description copied from interface: FeelEngine
      Evaluate a FEEL simple unary tests expression
      Specified by:
      evaluateSimpleUnaryTests in interface FeelEngine
      Parameters:
      simpleUnaryTests - the simple unary tests expression to evaluate
      inputName - the name of the variable which is tested
      variableContext - the variable context are available
      Returns:
      the result of the simple unary tests expression
    • createContext

      protected ELContext createContext(VariableContext variableContext)
    • transformSimpleUnaryTests

      protected ValueExpression transformSimpleUnaryTests(String simpleUnaryTests, String inputName, ELContext elContext)
    • transformToJuelExpression

      protected String transformToJuelExpression(String simpleUnaryTests, String inputName)