public class PayaraNotificationBuilder extends Object
PayaraNotificationFactory used to
configure Notifications for sending.| Modifier | Constructor and Description |
|---|---|
protected |
PayaraNotificationBuilder(String hostName,
String domainName,
String instanceName,
String serverName) |
| Modifier and Type | Method and Description |
|---|---|
PayaraNotificationBuilder |
blacklist(String... notifierNames)
Add a list of notifiers to the non-receiver list for this notification.
|
PayaraNotification |
build() |
PayaraNotificationBuilder |
data(Serializable data) |
PayaraNotificationBuilder |
eventType(String eventType) |
PayaraNotificationBuilder |
message(String message) |
PayaraNotificationBuilder |
subject(String subject) |
PayaraNotificationBuilder |
whitelist(String... notifierNames)
Add a list of notifiers to the receiver list for this notification.
|
public PayaraNotificationBuilder subject(String subject)
public PayaraNotificationBuilder message(String message)
public PayaraNotificationBuilder data(Serializable data)
public PayaraNotificationBuilder eventType(String eventType)
public PayaraNotificationBuilder whitelist(String... notifierNames)
notifierNames - a list of notifiers to receive this notificationpublic PayaraNotificationBuilder blacklist(String... notifierNames)
notifierNames - a list of notifiers to receive this notificationpublic PayaraNotification build()
Copyright © 2021. All rights reserved.