Package org.kie.dmn.api.core
Interface DMNResult
- All Superinterfaces:
DMNMessageContainer
An instance that encapsulates all the information
resulting from a DMN service invocation
-
Method Summary
Modifier and TypeMethodDescriptionReturns the full context, including all input variables and additional variables and decisions set during the service invocationReturns the result of a single decision.Returns the result of a single decision.Returns a list containing all the results of the decisions executedMethods inherited from interface org.kie.dmn.api.core.DMNMessageContainer
getMessages, getMessages, hasErrors
-
Method Details
-
getContext
DMNContext getContext()Returns the full context, including all input variables and additional variables and decisions set during the service invocation- Returns:
- the resulting DMN context
-
getDecisionResults
List<DMNDecisionResult> getDecisionResults()Returns a list containing all the results of the decisions executed- Returns:
- A list with the result of the decisions
-
getDecisionResultByName
Returns the result of a single decision.- Parameters:
name- the name of the decision- Returns:
- the result of the decision or null if the decision was not evaluated.
-
getDecisionResultById
Returns the result of a single decision.- Parameters:
id- the id of the decision- Returns:
- the result of the decision or null if the decision was not evaluated.
-