Class DMNInvocationEvaluator

    • Constructor Detail

      • DMNInvocationEvaluator

        public DMNInvocationEvaluator​(String nodeName,
                                      org.kie.dmn.model.api.DMNElement node,
                                      String functionName,
                                      org.kie.dmn.model.api.Invocation invocation,
                                      BiFunction<org.kie.dmn.api.core.DMNContext,​String,​org.kie.dmn.feel.runtime.FEELFunction> functionLocator,
                                      org.kie.dmn.feel.FEEL feel)
        Parameters:
        functionLocator - function to be used to resolve the FEELFunction to be invoked.
        feel - in case functionLocator is not able to resolve the desired function, it will be used for checking the resolution against the configured/built-in FEEL functions.
    • Method Detail

      • getParameters

        public List<org.kie.dmn.core.ast.DMNInvocationEvaluator.ActualParameter> getParameters()
      • evaluate

        public EvaluatorResult evaluate​(org.kie.dmn.api.core.event.DMNRuntimeEventManager eventManager,
                                        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:
        eventManager - events manager to whom events are notified
        dmnr - the result context instance
        Returns:
        the result of the evaluation of the expression