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)
SystemNotificationService
doesSystemNotificationSetContainRule
in interface SystemNotificationService
rule
- to compare with.public void saveSystemNotificationRule(@NotNull @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 @NotNull List<NotificationRule> getSystemNotificationRules()
SystemNotificationService
getSystemNotificationRules
in interface SystemNotificationService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences