org.camunda.bpm.dmn.feel.impl
Interface FeelEngine


public interface FeelEngine

Engine to evaluate FEEL expressions.


Method Summary
<T> T
evaluateSimpleExpression(String simpleExpression, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
          Evaluate a FEEL simple expression
 boolean evaluateSimpleUnaryTests(String simpleUnaryTests, String inputName, org.camunda.bpm.engine.variable.context.VariableContext variableContext)
          Evaluate a FEEL simple unary tests expression
 

Method Detail

evaluateSimpleExpression

<T> T evaluateSimpleExpression(String simpleExpression,
                               org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluate a FEEL simple expression

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
Throws:
FeelException - if the expression cannot be evaluated

evaluateSimpleUnaryTests

boolean evaluateSimpleUnaryTests(String simpleUnaryTests,
                                 String inputName,
                                 org.camunda.bpm.engine.variable.context.VariableContext variableContext)
Evaluate a FEEL simple unary tests expression

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
Throws:
FeelException - if the expression cannot be evaluated


Copyright © 2017 camunda services GmbH. All rights reserved.