Package io.jmix.notifications.channel
Interface NotificationChannel
- All Known Implementing Classes:
- EmailNotificationChannel,- InAppNotificationChannel
public interface NotificationChannel
Describes the way of notification sending.
 
Create String bean that implements this interface to support additional channel.
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Provides unique name of channel.booleansend(Notification notification) Sends provided notification via this notification channel.
- 
Method Details- 
getNameString getName()Provides unique name of channel.- Returns:
- channel name
 
- 
sendSends provided notification via this notification channel.- Parameters:
- notification- notification
- Returns:
- true if notification was successfully sent, false otherwise
 
 
-