| Package | Description |
|---|---|
| com.atlassian.bamboo.notification |
| Modifier and Type | Method and Description |
|---|---|
NotificationRule |
NotificationManager.createNotificationRule(Class<? extends NotificationType> notificationTypeClass,
String conditionData,
Class<? extends NotificationRecipient> recipientTypeClass,
String recipientString)
|
NotificationRule |
NotificationManager.createNotificationRule(String conditionKey,
String conditionData,
String recipientString,
String recipientType)
Create notification rule and provide required managers.
|
NotificationRule |
NotificationManager.createNotificationRuleFromAction(String notificationTypeKey,
String notificationRecipientType,
Map<String,String[]> actionParameters)
Creates a notification rule based on the keys and params passed in from the action
|
NotificationRule |
SystemNotificationService.doesSystemNotificationSetContainRule(NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
NotificationRule |
UsersNotification.getNotificationRule()
The notification rule
|
NotificationRule |
NotificationSet.getNotificationRuleById(long id) |
NotificationRule |
NotificationManager.getNotificationRuleById(long notificationId)
Get a specific notification rule
|
| Modifier and Type | Method and Description |
|---|---|
Set<NotificationRule> |
NotificationSet.getNotificationRules() |
Set<NotificationRule> |
NotificationManager.getNotificationRules(ImmutablePlan plan)
Extract notification rules for a plan.
|
Set<NotificationRule> |
NotificationManager.getNotificationRules(Plan plan)
Deprecated.
since 5.4 use
NotificationManager.getNotificationRules(com.atlassian.bamboo.plan.cache.ImmutablePlan) instead |
List<NotificationRule> |
NotificationSet.getSortedNotificationRules() |
List<NotificationRule> |
SystemNotificationService.getSystemNotificationRules()
Get a copy of all system notification rules.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationSet.addNotification(NotificationRule notificationRule) |
void |
NotificationDao.deleteNotification(NotificationRule rule)
Used to remove a notification from db.
|
NotificationRule |
SystemNotificationService.doesSystemNotificationSetContainRule(NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
boolean |
NotificationManager.isRecipientUserBase(NotificationRule notificationRule)
Determines whether or not a notification rule recipient evaluates to a bamboo user and
therefore comply with the users notification preference.
|
void |
NotificationDao.saveNotificationRule(NotificationRule newRule)
Save new/existing notification rule
|
void |
NotificationManager.saveSystemNotificationRule(NotificationRule notificationRule)
Do not use this method.
|
void |
SystemNotificationService.saveSystemNotificationRule(NotificationRule notificationRule)
Save an individual system notification rule.
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.