Class ValidationFailureNotification
java.lang.Object
net.croz.nrich.notification.api.model.Notification
net.croz.nrich.notification.api.model.ValidationFailureNotification
Holder for validation failure notification data. In addition to all data contained in regular notification it also contains a list of validation errors
(mapping between a property and validation failed message).
-
Constructor Summary
ConstructorsConstructorDescriptionValidationFailureNotification(String title, String content, List<String> messageList, NotificationSeverity severity, Map<String, ?> uxNotificationOptions, List<ValidationError> validationErrorList) -
Method Summary
-
Constructor Details
-
ValidationFailureNotification
public ValidationFailureNotification(String title, String content, List<String> messageList, NotificationSeverity severity, Map<String, ?> uxNotificationOptions, List<ValidationError> validationErrorList)
-
-
Method Details
-
isValidationFailure
public boolean isValidationFailure()- Overrides:
isValidationFailurein classNotification
-