Class DMNLiteralExpressionEvaluator

    • Constructor Summary

      Constructors 
      Constructor Description
      DMNLiteralExpressionEvaluator​(org.kie.dmn.feel.lang.CompiledExpression expression, org.kie.dmn.model.api.LiteralExpression expressionNode, org.kie.dmn.feel.FEEL feel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EvaluatorResult evaluate​(org.kie.dmn.api.core.event.DMNRuntimeEventManager dmrem, org.kie.dmn.api.core.DMNResult dmnr)
      Evaluates the expression, returning its result type (SUCCESS/FAILURE) and result value.
      org.kie.dmn.feel.lang.CompiledExpression getExpression()  
      boolean isFunctionDefinition()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DMNLiteralExpressionEvaluator

        public DMNLiteralExpressionEvaluator​(org.kie.dmn.feel.lang.CompiledExpression expression,
                                             org.kie.dmn.model.api.LiteralExpression expressionNode,
                                             org.kie.dmn.feel.FEEL feel)
    • Method Detail

      • isFunctionDefinition

        public boolean isFunctionDefinition()
      • getExpression

        public org.kie.dmn.feel.lang.CompiledExpression getExpression()
      • evaluate

        public EvaluatorResult evaluate​(org.kie.dmn.api.core.event.DMNRuntimeEventManager dmrem,
                                        org.kie.dmn.api.core.DMNResult dmnr)
        Description copied from interface: DMNExpressionEvaluator
        Evaluates the expression, returning its result type (SUCCESS/FAILURE) and result value.
        Specified by:
        evaluate in interface DMNExpressionEvaluator
        Parameters:
        dmrem - events manager to whom events are notified
        dmnr - the result context instance
        Returns:
        the result of the evaluation of the expression