Class DMNContextEvaluator

    • Constructor Detail

      • DMNContextEvaluator

        public DMNContextEvaluator​(String name,
                                   org.kie.dmn.model.api.Context contextDef)
    • Method Detail

      • addEntry

        public void addEntry​(String name,
                             org.kie.dmn.api.core.DMNType type,
                             DMNExpressionEvaluator evaluator,
                             org.kie.dmn.model.api.ContextEntry ce)
      • 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