|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.notification.AbstractNotification
public abstract class AbstractNotification
| Constructor Summary | |
|---|---|
AbstractNotification()
|
|
| Method Summary | |
|---|---|
void |
addRecipient(NotificationRecipient recipient)
Add a singular recipient to this notification |
void |
excludeRecipient(NotificationRecipient recipient)
Exclude a singular recipient from this notification. |
com.atlassian.event.Event |
getEvent()
Retrieves the event object that triggered this notification |
java.util.Set<NotificationRecipient> |
getExcludedNotificationRecipients()
Returns the excluded recipients of this Notification |
java.util.Set<NotificationRecipient> |
getNotificationRecipients()
Returns the recipients of this Notification |
void |
setEvent(com.atlassian.event.Event event)
Sets the event object that triggered this notification |
void |
setExcludedNotificationRecipients(java.util.Set<NotificationRecipient> recipients)
Sets the excluded recipients for this Notification |
void |
setNotificationRecipients(java.util.Set<NotificationRecipient> recipients)
Sets the recipients for this Notification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.bamboo.notification.Notification |
|---|
getDescription, getEmailSubject, getHtmlEmailContent, getIMContent, getTextEmailContent |
| Constructor Detail |
|---|
public AbstractNotification()
| Method Detail |
|---|
public void setEvent(@Nullable
com.atlassian.event.Event event)
Notification
setEvent in interface Notificationevent - Event object that triggered this notification@Nullable public com.atlassian.event.Event getEvent()
Notification
getEvent in interface Notification@NotNull public java.util.Set<NotificationRecipient> getNotificationRecipients()
Notification
getNotificationRecipients in interface Notification@NotNull public java.util.Set<NotificationRecipient> getExcludedNotificationRecipients()
Notification
getExcludedNotificationRecipients in interface Notification
public void setNotificationRecipients(@NotNull
java.util.Set<NotificationRecipient> recipients)
Notification
setNotificationRecipients in interface Notificationrecipients - Set of notification recipients
public void setExcludedNotificationRecipients(@NotNull
java.util.Set<NotificationRecipient> recipients)
Notification
setExcludedNotificationRecipients in interface Notificationrecipients - Set of excluded notification recipients
public void addRecipient(@NotNull
NotificationRecipient recipient)
Notification
addRecipient in interface Notificationrecipient - Recipient to be added to notification
public void excludeRecipient(@NotNull
NotificationRecipient recipient)
Notification
excludeRecipient in interface Notificationrecipient - Recipient to be excluded from notification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||