Class NotificationRecipient
java.lang.Object
de.xima.fc.notification.ms.impl.processors.NotificationRecipient
A resolved recipient for a notification, including it's preferred locale and target endpoints.
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationRecipient(NotificationAssignee assignee, NotificationChannelType channel, Locale preferredLocale, List<String> targetEndpoints) Creates a newNotificationRecipientinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe assignee representing the recipient.The notification channel type (e.g., EMAIL).The preferred locale of the recipient for localization purposes.The list of target endpoints (e.g., email addresses) for sending the notification.inthashCode()toString()
-
Constructor Details
-
NotificationRecipient
public NotificationRecipient(NotificationAssignee assignee, NotificationChannelType channel, Locale preferredLocale, List<String> targetEndpoints) Creates a newNotificationRecipientinstance.- Parameters:
assignee- The assignee representing the recipient.channel- The notification channel type (e.g., EMAIL).preferredLocale- The preferred locale of the recipient for localization purposes.targetEndpoints- The list of target endpoints (e.g., email addresses) for sending the notification.
-
-
Method Details
-
getAssignee
The assignee representing the recipient. -
getChannel
The notification channel type (e.g., EMAIL). -
getPreferredLocale
The preferred locale of the recipient for localization purposes. -
getTargetEndpoints
-
equals
-
hashCode
-
toString
-