- <init>
Constructs a ValidationResult on the given message list. Used for constructing
the EMPTY validation
- addAllFrom
Adds all messages from the given ValidationResult to the list of messages that
this validation resul
- isEmpty
Checks and answers whether this validation result contains no messages.
- add
Adds a new ValidationMessage to the list of messages.
- getMessages
Returns an unmodifiable List of all validation messages.
- getSeverity
Returns the highest severity of this result's messages,Severity.OK if there are
no messages. A singl
- hasErrors
Checks and answers whether this validation result contains a message of type
ERROR.
- hasWarnings
Checks and answers whether this validation result contains a message of type
WARNING. Note that thi
- keyMap
Creates and returns an unmodifiable Map that maps the message keys of this
validation result to unmo
- addAll
Adds all messages from the given list to this validation result.
- addError
Creates and adds an error message to the list of validation messages using the
given text and valida
- getMessagesText
Returns a string representation of the given list of messages.