|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Notification
event
- 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 Notification
recipients
- Set of notification recipientspublic void setExcludedNotificationRecipients(@NotNull java.util.Set<NotificationRecipient> recipients)
Notification
setExcludedNotificationRecipients
in interface Notification
recipients
- Set of excluded notification recipientspublic void addRecipient(@NotNull NotificationRecipient recipient)
Notification
addRecipient
in interface Notification
recipient
- Recipient to be added to notificationpublic void excludeRecipient(@NotNull NotificationRecipient recipient)
Notification
excludeRecipient
in interface Notification
recipient
- Recipient to be excluded from notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |