Package org.kie.dmn.core.ast
Class DMNDecisionServiceEvaluator
- java.lang.Object
-
- org.kie.dmn.core.ast.DMNDecisionServiceEvaluator
-
- All Implemented Interfaces:
DMNExpressionEvaluator
public class DMNDecisionServiceEvaluator extends Object implements DMNExpressionEvaluator
-
-
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 EvaluatorResultevaluate(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.
-
-
-
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:DMNExpressionEvaluatorEvaluates the expression, returning its result type (SUCCESS/FAILURE) and result value.- Specified by:
evaluatein interfaceDMNExpressionEvaluator- Parameters:
eventManager- events manager to whom events are notifiedr- the result context instance- Returns:
- the result of the evaluation of the expression
-
-