public interface DMNResult
| Modifier and Type | Method and Description |
|---|---|
DMNContext |
getContext()
Returns the full context, including
all input variables and additional
variables and decisions set during
the service invocation
|
DMNDecisionResult |
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
|
List<DMNMessage> |
getMessages()
Returns a list of all the messages produced
during the DMN service invocation.
|
List<DMNMessage> |
getMessages(DMNMessage.Severity... sevs)
Returns a list of all the messages produced
during the DMN service invocation, filtered
by the list of severities given.
|
boolean |
hasErrors()
A helper method to quick check for the presence
of error messages.
|
DMNContext getContext()
List<DMNDecisionResult> getDecisionResults()
DMNDecisionResult getDecisionResultByName(String name)
name - the name of the decisionDMNDecisionResult getDecisionResultById(String id)
id - the id of the decisionList<DMNMessage> getMessages()
List<DMNMessage> getMessages(DMNMessage.Severity... sevs)
sevs - the list of severities to filter
the messages byboolean hasErrors()
#getMessages()Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.