Package org.kie.dmn.api.core
Interface DMNMessageContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getMessages
List<DMNMessage> getMessages()
Returns a list of all the messages produced during the DMN service invocation.- Returns:
- list of messages
-
getMessages
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.- Parameters:
sevs
- the list of severities to filter the messages by- Returns:
- filtered list of messages
-
hasErrors
boolean hasErrors()
A helper method to quick check for the presence of error messages. The actual error messages can be retrieved by invoking#getMessages()
- Returns:
- true if there are any error messages, false otherwise.
-
-