public class XPFNotificationDeliveryContext extends XPFEntity
Constructor and Description |
---|
XPFNotificationDeliveryContext(@NonNull String customTypeName,
@NonNull Set<XPFNotificationRecipient> recipients,
@NonNull Map<String,Object> placeholderValues,
@NonNull Locale locale,
XPFStore store)
Constructor for custom notification types.
|
XPFNotificationDeliveryContext(@NonNull XPFNotificationType type,
@NonNull Set<XPFNotificationRecipient> recipients,
@NonNull Map<String,Object> placeholderValues,
@NonNull Locale locale,
XPFStore store)
Constructor for standard/OOTB notification types.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCustomTypeName()
The custom notification type.
|
@NonNull Locale |
getLocale()
The locale.
|
@NonNull Map<String,Object> |
getPlaceholderValues()
The placeholder values.
|
@NonNull Set<XPFNotificationRecipient> |
getRecipients()
The notification recipients.
|
XPFStore |
getStore()
The store.
|
@NonNull XPFNotificationType |
getType()
The notification type.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFNotificationDeliveryContext(@NonNull @NonNull XPFNotificationType type, @NonNull @NonNull Set<XPFNotificationRecipient> recipients, @NonNull @NonNull Map<String,Object> placeholderValues, @NonNull @NonNull Locale locale, XPFStore store)
type
- the notification typerecipients
- the notification recipientsplaceholderValues
- the placeholder valueslocale
- the localestore
- the storepublic XPFNotificationDeliveryContext(@NonNull @NonNull String customTypeName, @NonNull @NonNull Set<XPFNotificationRecipient> recipients, @NonNull @NonNull Map<String,Object> placeholderValues, @NonNull @NonNull Locale locale, XPFStore store)
customTypeName
- the custom notification type namerecipients
- the notification recipientsplaceholderValues
- the placeholder valueslocale
- the localestore
- the store@NonNull public @NonNull XPFNotificationType getType()
public String getCustomTypeName()
@NonNull public @NonNull Set<XPFNotificationRecipient> getRecipients()
@NonNull public @NonNull Map<String,Object> getPlaceholderValues()
@NonNull public @NonNull Locale getLocale()
public XPFStore getStore()
Copyright © 2025. All rights reserved.