Modifier and Type | Method and Description |
---|---|
protected Iterable<NotificationRule> |
ResponsibilitiesUpdatedNotificationListener.getNotificationRules(ImmutablePlan plan,
UserResponsibilityEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
EnvironmentServiceImpl.addNotification(long environmentId,
NotificationRule newRule) |
void |
EnvironmentService.addNotification(long environmentId,
NotificationRule newRule)
Adds a new notification to the environment notifications
|
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<NotificationRule> |
HasMatchingNotificationRule.hasMatchingNotificationRule(NotificationManager notificationManager,
Class<? extends NotificationType> notificationTypeClass,
Class<? extends NotificationRecipient> recipientTypeClass,
String recipientString) |
static org.hamcrest.Matcher<NotificationRule> |
HasMatchingNotificationRule.hasMatchingNotificationRule(NotificationManager notificationManager,
Class<? extends NotificationType> notificationTypeClass,
String conditionData,
Class<? extends NotificationRecipient> recipientTypeClass,
String recipientString) |
Modifier and Type | Method and Description |
---|---|
boolean |
HasMatchingNotificationRule.matchesSafely(NotificationRule notificationRule) |
Modifier and Type | Method and Description |
---|---|
protected NotificationRule |
NotificationRuleMapper.createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) |
Modifier and Type | Method and Description |
---|---|
protected void |
NotificationRuleMapper.exportProperties(org.codehaus.staxmate.out.SMOutputElement outputElement,
NotificationRule notificationRule,
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean) |
protected void |
NotificationRuleMapper.importProperties(NotificationRule notificationRule,
org.codehaus.staxmate.in.SMInputCursor inputCursor,
org.hibernate.Session session) |
Modifier and Type | Class and Description |
---|---|
class |
NotificationRuleImpl |
Modifier and Type | Method and Description |
---|---|
NotificationRule |
NotificationManagerImpl.createNotificationRule(Class<? extends NotificationType> notificationTypeClass,
String conditionData,
Class<? extends NotificationRecipient> recipientTypeClass,
String recipientString) |
NotificationRule |
NotificationManager.createNotificationRule(Class<? extends NotificationType> notificationTypeClass,
String conditionData,
Class<? extends NotificationRecipient> recipientTypeClass,
String recipientString)
|
NotificationRule |
NotificationManagerImpl.createNotificationRule(String conditionKey,
String conditionData,
String recipientString,
String recipientType) |
NotificationRule |
NotificationManager.createNotificationRule(String conditionKey,
String conditionData,
String recipientString,
String recipientType)
Create notification rule and provide required managers.
|
NotificationRule |
NotificationManagerImpl.createNotificationRuleFromAction(String notificationTypeKey,
String notificationRecipientKey,
Map<String,String[]> actionParams) |
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 |
SystemNotificationServiceImpl.doesSystemNotificationSetContainRule(NotificationRule rule) |
NotificationRule |
SystemNotificationService.doesSystemNotificationSetContainRule(NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
NotificationRule |
UsersNotificationImpl.getNotificationRule() |
NotificationRule |
UsersNotification.getNotificationRule()
The notification rule
|
NotificationRule |
NotificationManagerImpl.getNotificationRuleById(long notificationId) |
NotificationRule |
NotificationSetImpl.getNotificationRuleById(long id) |
NotificationRule |
NotificationSet.getNotificationRuleById(long id) |
NotificationRule |
NotificationManager.getNotificationRuleById(long notificationId)
Get a specific notification rule
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.filterNotificationRules(Iterable<NotificationRule> iterable,
T event)
Filter passed Iterable by list of classes in notificationTypeFilter and by call to NotificationType#isNotificationRequired(Event).
|
Set<NotificationRule> |
NotificationSetImpl.getNotificationRules() |
Set<NotificationRule> |
NotificationSet.getNotificationRules() |
Set<NotificationRule> |
NotificationManagerImpl.getNotificationRules(ImmutablePlan plan) |
Set<NotificationRule> |
NotificationManager.getNotificationRules(ImmutablePlan plan)
Extract notification rules for a plan.
|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.getNotificationRules(ImmutablePlan plan,
T event)
Return notification rules effective for a given plan and event.
|
Set<NotificationRule> |
NotificationManagerImpl.getNotificationRules(Plan plan) |
Set<NotificationRule> |
NotificationManager.getNotificationRules(Plan plan)
Deprecated.
since 5.4 use
NotificationManager.getNotificationRules(com.atlassian.bamboo.plan.cache.ImmutablePlan) instead |
List<NotificationRule> |
NotificationSetImpl.getSortedNotificationRules() |
List<NotificationRule> |
NotificationSet.getSortedNotificationRules() |
List<NotificationRule> |
SystemNotificationServiceImpl.getSystemNotificationRules() |
List<NotificationRule> |
SystemNotificationService.getSystemNotificationRules()
Get a copy of all system notification rules.
|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.getSystemNotificationRules(T event)
Return system notification rules effective for a given event.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationSetImpl.addNotification(NotificationRule notificationRule) |
void |
NotificationSet.addNotification(NotificationRule notificationRule) |
int |
NotificationRuleImpl.compareTo(NotificationRule o) |
void |
NotificationHibernateDao.deleteNotification(NotificationRule rule) |
void |
NotificationDao.deleteNotification(NotificationRule rule)
Used to remove a notification from db.
|
NotificationRule |
SystemNotificationServiceImpl.doesSystemNotificationSetContainRule(NotificationRule rule) |
NotificationRule |
SystemNotificationService.doesSystemNotificationSetContainRule(NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
NotificationRecipient |
NotificationManagerImpl.getNotificationRecipient(NotificationRule rule) |
NotificationRecipient |
NotificationManager.getNotificationRecipient(NotificationRule rule)
Instantiate and populate notification recipient from a rule.
|
NotificationType |
NotificationManagerImpl.getNotificationType(NotificationRule rule) |
NotificationType |
NotificationManager.getNotificationType(NotificationRule rule)
Instantiate and populate notification type from a rule.
|
boolean |
NotificationManagerImpl.isRecipientUserBase(NotificationRule notificationRule) |
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 |
NotificationManagerImpl.replaceNotificationRule(NotificationSet notificationSet,
long existingNotificationId,
NotificationRule newNotificationRule) |
void |
NotificationManager.replaceNotificationRule(NotificationSet notificationSet,
long existingNotificationId,
NotificationRule newNotificationRule)
Replaces a notification rule with the new definition.
|
void |
NotificationHibernateDao.saveNotificationRule(NotificationRule newRule) |
void |
NotificationDao.saveNotificationRule(NotificationRule newRule)
Save new/existing notification rule
|
void |
NotificationManagerImpl.saveSystemNotificationRule(NotificationRule notificationRule) |
void |
SystemNotificationServiceImpl.saveSystemNotificationRule(NotificationRule notificationRule) |
void |
SystemNotificationService.saveSystemNotificationRule(NotificationRule notificationRule)
Save an individual system notification rule.
|
void |
NotificationManager.saveSystemNotificationRule(NotificationRule notificationRule)
Do not use this method.
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.filterNotificationRules(Iterable<NotificationRule> iterable,
T event)
Filter passed Iterable by list of classes in notificationTypeFilter and by call to NotificationType#isNotificationRequired(Event).
|
void |
NotificationSetImpl.setNotificationRules(Set<NotificationRule> notificationRules) |
Constructor and Description |
---|
UsersNotificationImpl(Plan plan,
NotificationRule notificationRule) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<NotificationRule> |
BambooPredicates.hasNotificationRuleRecipient(String recipient) |
static com.google.common.base.Predicate<NotificationRule> |
BambooPredicates.hasNotificationRuleRecipientType(String recipientType) |
Modifier and Type | Method and Description |
---|---|
NotificationRule |
AddNotificationBulkAction.getNewNotification(Map<String,String[]> params) |
Modifier and Type | Method and Description |
---|---|
List<NotificationRule> |
ConfigureSystemNotifications.getSystemNotificationRules() |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigureNotificationPreferences.isRecipientUserBased(NotificationRule notificationRule) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.