Package org.kie.dmn.api.core
Interface DMNResult
-
- All Superinterfaces:
DMNMessageContainer
public interface DMNResult extends DMNMessageContainer
An instance that encapsulates all the information resulting from a DMN service invocation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DMNContext
getContext()
Returns the full context, including all input variables and additional variables and decisions set during the service invocationDMNDecisionResult
getDecisionResultById(String id)
Returns the result of a single decision.DMNDecisionResult
getDecisionResultByName(String name)
Returns the result of a single decision.List<DMNDecisionResult>
getDecisionResults()
Returns a list containing all the results of the decisions executed-
Methods inherited from interface org.kie.dmn.api.core.DMNMessageContainer
getMessages, getMessages, hasErrors
-
-
-
-
Method Detail
-
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
DMNDecisionResult getDecisionResultByName(String name)
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
DMNDecisionResult getDecisionResultById(String id)
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.
-
-