public interface SystemNotificationService
Modifier and Type | Method and Description |
---|---|
NotificationRule |
doesSystemNotificationSetContainRule(NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
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.
|
@Nullable NotificationRule doesSystemNotificationSetContainRule(@NotNull NotificationRule rule)
rule
- to compare with.void saveSystemNotificationRule(@NotNull NotificationRule notificationRule)
notificationRule
- to be addedvoid removeSystemNotificationRule(long id)
id
- of the notification to be removed@NotNull List<NotificationRule> getSystemNotificationRules()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.