Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AdditionalNotificationData - Class in net.croz.nrich.notification.api.model
-
Additional notification data used to configure notification.
- AdditionalNotificationData() - Constructor for class net.croz.nrich.notification.api.model.AdditionalNotificationData
B
- BaseNotificationResponseService<T> - Interface in net.croz.nrich.notification.api.service
-
Helper service for creation of response with notification.
C
- ConstraintConversionService - Interface in net.croz.nrich.notification.api.service
- CONTAINING_OBJECT_NAME - Static variable in record class net.croz.nrich.notification.api.model.ValidationError
- convertConstraintViolationsToErrors(Set<ConstraintViolation<?>>, Object, String) - Method in interface net.croz.nrich.notification.api.service.ConstraintConversionService
- createNotificationForAction(String) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
- createNotificationForAction(String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
-
Returns
Notificationinstance for action. - createNotificationForException(Throwable) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
- createNotificationForException(Throwable, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
-
Returns
Notificationinstance for exception. - createNotificationForValidationFailure(ConstraintViolationException) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
- createNotificationForValidationFailure(ConstraintViolationException, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
-
Returns
ValidationFailureNotificationinstance. - createNotificationForValidationFailure(Errors, Class<?>) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
- createNotificationForValidationFailure(Errors, Class<?>, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResolverService
-
Returns
ValidationFailureNotificationinstance.
E
- empty() - Static method in class net.croz.nrich.notification.api.model.AdditionalNotificationData
- equals(Object) - Method in record class net.croz.nrich.notification.api.model.ValidationError
-
Indicates whether some other object is "equal to" this one.
- ERROR - Enum constant in enum class net.croz.nrich.notification.api.model.NotificationSeverity
- errorMessageList() - Method in record class net.croz.nrich.notification.api.model.ValidationError
-
Returns the value of the
errorMessageListrecord component.
H
- hashCode() - Method in record class net.croz.nrich.notification.api.model.ValidationError
-
Returns a hash code value for this object.
I
- INFO - Enum constant in enum class net.croz.nrich.notification.api.model.NotificationSeverity
- isValidationFailure() - Method in class net.croz.nrich.notification.api.model.Notification
- isValidationFailure() - Method in class net.croz.nrich.notification.api.model.ValidationFailureNotification
N
- net.croz.nrich.notification.api.model - package net.croz.nrich.notification.api.model
- net.croz.nrich.notification.api.response - package net.croz.nrich.notification.api.response
- net.croz.nrich.notification.api.service - package net.croz.nrich.notification.api.service
- Notification - Class in net.croz.nrich.notification.api.model
-
Holder for notification data.
- Notification() - Constructor for class net.croz.nrich.notification.api.model.Notification
- NotificationDataResponse<T> - Class in net.croz.nrich.notification.api.response
-
Wrapper around response data that allows for sending notification with original response data.
- NotificationDataResponse(Notification, T) - Constructor for class net.croz.nrich.notification.api.response.NotificationDataResponse
- NotificationMessageResolverService - Interface in net.croz.nrich.notification.api.service
-
Resolves messages for notification from either message code list or from Spring's
ObjectErrorinstances. - notificationResolverService() - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
- NotificationResolverService - Interface in net.croz.nrich.notification.api.service
-
Creates notifications for exceptions, validation failures and actions.
- NotificationResponse - Class in net.croz.nrich.notification.api.response
-
Response that holds notification.
- NotificationResponse() - Constructor for class net.croz.nrich.notification.api.response.NotificationResponse
- NotificationResponseService - Interface in net.croz.nrich.notification.api.service
- NotificationSeverity - Enum Class in net.croz.nrich.notification.api.model
-
Severity of the notification (i.e.
O
- objectName() - Method in record class net.croz.nrich.notification.api.model.ValidationError
-
Returns the value of the
objectNamerecord component.
R
- resolveMessage(List<String>) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
- resolveMessage(List<String>, String) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
- resolveMessage(List<String>, List<Object>, String) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
-
Returns message resolved from messageCodeList, ordering is important since first found message for message code will be returned.
- resolveMessageForObjectError(Class<?>, ObjectError) - Method in interface net.croz.nrich.notification.api.service.NotificationMessageResolverService
-
Resolves message for Spring's
ObjectError. - resolveTarget(Set<ConstraintViolation<?>>) - Method in interface net.croz.nrich.notification.api.service.ConstraintConversionService
- responseWithExceptionNotification(Throwable) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
- responseWithExceptionNotification(Throwable, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
-
Returns response with
Notificationinstance. - responseWithNotification(D, String) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
- responseWithNotification(D, String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
-
Returns response with
Notificationinstance. - responseWithNotification(String) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
- responseWithNotification(String, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
-
Returns response with
Notificationinstance. - responseWithNotificationActionResolvedFromRequest() - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
- responseWithNotificationActionResolvedFromRequest(D) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
- responseWithNotificationActionResolvedFromRequest(D, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.NotificationResponseService
-
Returns response with
Notificationinstance. - responseWithNotificationActionResolvedFromRequest(AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
-
Returns response with
Notificationinstance. - responseWithValidationFailureNotification(ConstraintViolationException) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
- responseWithValidationFailureNotification(ConstraintViolationException, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
-
Returns response with
ValidationFailureNotificationinstance. - responseWithValidationFailureNotification(Errors, Class<?>) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
- responseWithValidationFailureNotification(Errors, Class<?>, AdditionalNotificationData) - Method in interface net.croz.nrich.notification.api.service.BaseNotificationResponseService
-
Returns response with
ValidationFailureNotificationinstance.
T
- toString() - Method in record class net.croz.nrich.notification.api.model.ValidationError
-
Returns a string representation of this record class.
V
- ValidationError - Record Class in net.croz.nrich.notification.api.model
-
Represents validation error on a object.
- ValidationError(String, List<String>) - Constructor for record class net.croz.nrich.notification.api.model.ValidationError
-
Creates an instance of a
ValidationErrorrecord class. - ValidationFailureNotification - Class in net.croz.nrich.notification.api.model
-
Holder for validation failure notification data.
- ValidationFailureNotification(String, String, List<String>, NotificationSeverity, Map<String, ?>, List<ValidationError>) - Constructor for class net.croz.nrich.notification.api.model.ValidationFailureNotification
- valueOf(String) - Static method in enum class net.croz.nrich.notification.api.model.NotificationSeverity
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.croz.nrich.notification.api.model.NotificationSeverity
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARNING - Enum constant in enum class net.croz.nrich.notification.api.model.NotificationSeverity
All Classes and Interfaces|All Packages|Constant Field Values