Class StandardNotificationService
java.lang.Object
dev.getelements.elements.service.notification.StandardNotificationService
- All Implemented Interfaces:
NotificationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an instance ofNotificationBuilder.jakarta.inject.Provider<NotificationBuilder> voidsetCurrentProfileSupplier(Supplier<Profile> currentProfileSupplier) voidsetNotificationBuilderProvider(jakarta.inject.Provider<NotificationBuilder> notificationBuilderProvider)
-
Constructor Details
-
StandardNotificationService
public StandardNotificationService()
-
-
Method Details
-
getBuilder
Description copied from interface:NotificationServiceGets an instance ofNotificationBuilder. This includes a pre-configuredNotificationBuilderwith the currentProfileandApplicationtherefore making it only necessary to specify the recipient usingNotificationBuilder.recipient(Profile).- Specified by:
getBuilderin interfaceNotificationService- Returns:
- the
NotificationBuilder
-
getCurrentProfileSupplier
-
setCurrentProfileSupplier
-
getNotificationBuilderProvider
-
setNotificationBuilderProvider
@Inject public void setNotificationBuilderProvider(jakarta.inject.Provider<NotificationBuilder> notificationBuilderProvider)
-