Class DefaultNotificationResolverService
java.lang.Object
net.croz.nrich.notification.service.DefaultNotificationResolverService
- All Implemented Interfaces:
net.croz.nrich.notification.api.service.NotificationResolverService
public class DefaultNotificationResolverService
extends Object
implements net.croz.nrich.notification.api.service.NotificationResolverService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.croz.nrich.notification.api.model.NotificationcreateNotificationForAction(String actionName, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.model.NotificationcreateNotificationForException(Throwable throwable, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.model.ValidationFailureNotificationcreateNotificationForValidationFailure(jakarta.validation.ConstraintViolationException exception, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) net.croz.nrich.notification.api.model.ValidationFailureNotificationcreateNotificationForValidationFailure(org.springframework.validation.Errors errors, Class<?> validationFailedOwningType, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.croz.nrich.notification.api.service.NotificationResolverService
createNotificationForAction, createNotificationForException, createNotificationForValidationFailure, createNotificationForValidationFailure
-
Constructor Details
-
DefaultNotificationResolverService
public DefaultNotificationResolverService()
-
-
Method Details
-
createNotificationForValidationFailure
public net.croz.nrich.notification.api.model.ValidationFailureNotification createNotificationForValidationFailure(org.springframework.validation.Errors errors, Class<?> validationFailedOwningType, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
createNotificationForValidationFailurein interfacenet.croz.nrich.notification.api.service.NotificationResolverService
-
createNotificationForValidationFailure
public net.croz.nrich.notification.api.model.ValidationFailureNotification createNotificationForValidationFailure(jakarta.validation.ConstraintViolationException exception, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
createNotificationForValidationFailurein interfacenet.croz.nrich.notification.api.service.NotificationResolverService
-
createNotificationForException
public net.croz.nrich.notification.api.model.Notification createNotificationForException(Throwable throwable, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
createNotificationForExceptionin interfacenet.croz.nrich.notification.api.service.NotificationResolverService
-
createNotificationForAction
public net.croz.nrich.notification.api.model.Notification createNotificationForAction(String actionName, net.croz.nrich.notification.api.model.AdditionalNotificationData additionalNotificationData) - Specified by:
createNotificationForActionin interfacenet.croz.nrich.notification.api.service.NotificationResolverService
-