Class DMNDecisionServiceEvaluator

    • Constructor Summary

      Constructors 
      Constructor Description
      DMNDecisionServiceEvaluator​(org.kie.dmn.api.core.ast.DecisionServiceNode dsNode, boolean transferResult, boolean coerceSingletonResult)  
    • Method Summary

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

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

      • DMNDecisionServiceEvaluator

        public DMNDecisionServiceEvaluator​(org.kie.dmn.api.core.ast.DecisionServiceNode dsNode,
                                           boolean transferResult,
                                           boolean coerceSingletonResult)
    • Method Detail

      • evaluate

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