public class SystemNotificationServiceImpl extends Object implements SystemNotificationService
| Constructor and Description |
|---|
SystemNotificationServiceImpl(NotificationManager notificationManager) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable NotificationRule |
doesSystemNotificationSetContainRule(@NotNull NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
@NotNull List<NotificationRule> |
getSystemNotificationRules()
Get a copy of all system notification rules.
|
void |
removeSystemNotificationRule(long id)
Remove an individual system notification
|
void |
saveSystemNotificationRule(@NotNull NotificationRule notificationRule)
Save an individual system notification rule.
|
public SystemNotificationServiceImpl(NotificationManager notificationManager)
@Nullable public @Nullable NotificationRule doesSystemNotificationSetContainRule(@NotNull @NotNull NotificationRule rule)
SystemNotificationServicedoesSystemNotificationSetContainRule in interface SystemNotificationServicerule - to compare with.public void saveSystemNotificationRule(@NotNull
@NotNull NotificationRule notificationRule)
SystemNotificationServicesaveSystemNotificationRule in interface SystemNotificationServicenotificationRule - to be addedpublic void removeSystemNotificationRule(long id)
SystemNotificationServiceremoveSystemNotificationRule in interface SystemNotificationServiceid - of the notification to be removed@NotNull public @NotNull List<NotificationRule> getSystemNotificationRules()
SystemNotificationServicegetSystemNotificationRules in interface SystemNotificationServiceCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.