Class DMNContextEvaluator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESULT_ENTRY  
    • Constructor Summary

      Constructors 
      Constructor Description
      DMNContextEvaluator​(java.lang.String name, org.kie.dmn.model.api.Context contextDef)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEntry​(java.lang.String name, org.kie.dmn.api.core.DMNType type, DMNExpressionEvaluator evaluator, org.kie.dmn.model.api.ContextEntry ce)  
      EvaluatorResult evaluate​(org.kie.dmn.api.core.event.DMNRuntimeEventManager eventManager, org.kie.dmn.api.core.DMNResult dmnr)
      Evaluates the expression, returning its result type (SUCCESS/FAILURE) and result value.
      java.util.List<DMNContextEvaluator.ContextEntryDef> getEntries()  
      • Methods inherited from class java.lang.Object

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

      • DMNContextEvaluator

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

      • addEntry

        public void addEntry​(java.lang.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