|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.notification.SystemNotificationServiceImpl
public class SystemNotificationServiceImpl
Class to provide access to system notifications
Constructor Summary | |
---|---|
SystemNotificationServiceImpl(NotificationManager notificationManager)
|
Method Summary | |
---|---|
NotificationRule |
doesSystemNotificationSetContainRule(NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes). |
java.util.List<NotificationRule> |
getSystemNotificationRules()
Get a copy of all system notification rules. |
void |
removeSystemNotificationRule(long id)
Remove an individual system notification |
void |
saveSystemNotificationRule(NotificationRule notificationRule)
Save an individual system notification rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemNotificationServiceImpl(NotificationManager notificationManager)
Method Detail |
---|
@Nullable public NotificationRule doesSystemNotificationSetContainRule(@NotNull NotificationRule rule)
SystemNotificationService
doesSystemNotificationSetContainRule
in interface SystemNotificationService
rule
- to compare with.
public void saveSystemNotificationRule(@NotNull NotificationRule notificationRule)
SystemNotificationService
saveSystemNotificationRule
in interface SystemNotificationService
notificationRule
- to be addedpublic void removeSystemNotificationRule(long id)
SystemNotificationService
removeSystemNotificationRule
in interface SystemNotificationService
id
- of the notification to be removed@NotNull public java.util.List<NotificationRule> getSystemNotificationRules()
SystemNotificationService
getSystemNotificationRules
in interface SystemNotificationService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |