| Modifier and Type | Method and Description |
|---|---|
protected Iterable<NotificationRule> |
ResponsibilitiesUpdatedNotificationListener.getNotificationRules(@NotNull ImmutablePlan plan,
@NotNull UserResponsibilityEvent event) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.notification.Notification |
NotificationExporter.toSpecEntity(@NotNull NotificationRule notificationRule) |
@NotNull com.atlassian.bamboo.specs.api.builders.notification.Notification |
NotificationExporterImpl.toSpecEntity(@NotNull NotificationRule notificationRule) |
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentServiceImpl.addNotification(long environmentId,
@NotNull NotificationRule newRule) |
void |
EnvironmentService.addNotification(long environmentId,
@NotNull NotificationRule newRule)
Adds a new notification to the environment notifications
|
void |
EnvironmentServiceImpl.replaceNotification(long environmentId,
long oldNotificationId,
@NotNull NotificationRule newRule) |
void |
EnvironmentService.replaceNotification(long environmentId,
long oldNotificationId,
@NotNull NotificationRule newRule)
Replaces notification in the environment's notification set.
|
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<NotificationRule> |
HasMatchingNotificationRule.hasMatchingNotificationRule(@NotNull NotificationManager notificationManager,
@NotNull Class<? extends NotificationType> notificationTypeClass,
@NotNull Class<? extends NotificationRecipient> recipientTypeClass,
@Nullable String recipientString) |
static org.hamcrest.Matcher<NotificationRule> |
HasMatchingNotificationRule.hasMatchingNotificationRule(@NotNull NotificationManager notificationManager,
@NotNull Class<? extends NotificationType> notificationTypeClass,
@Nullable String conditionData,
@NotNull Class<? extends NotificationRecipient> recipientTypeClass,
@Nullable String recipientString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HasMatchingNotificationRule.matchesSafely(NotificationRule notificationRule) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull NotificationRule |
NotificationRuleMapper.createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NotificationRuleMapper.exportProperties(@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement,
@NotNull NotificationRule notificationRule,
@NotNull org.hibernate.Session session,
ExportDetailsBean exportDetailsBean) |
protected void |
NotificationRuleMapper.importProperties(@NotNull NotificationRule notificationRule,
@NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor,
@NotNull org.hibernate.Session session) |
| Modifier and Type | Class and Description |
|---|---|
class |
NotificationRuleImpl |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SetAttribute<NotificationSetImpl,NotificationRule> |
NotificationSetImpl_.notificationRules |
static javax.persistence.metamodel.ListAttribute<NotificationSetImpl,NotificationRule> |
NotificationSetImpl_.sortedNotificationRules |
| Modifier and Type | Method and Description |
|---|---|
@NotNull NotificationRule |
NotificationManagerImpl.createNotificationRule(@NotNull Class<? extends NotificationType> notificationTypeClass,
@Nullable String conditionData,
@NotNull Class<? extends NotificationRecipient> recipientTypeClass,
@Nullable String recipientString) |
@NotNull NotificationRule |
NotificationManager.createNotificationRule(@NotNull Class<? extends NotificationType> notificationTypeClass,
@Nullable String conditionData,
@NotNull Class<? extends NotificationRecipient> recipientTypeClass,
@Nullable 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.
|
@NotNull 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
|
@Nullable NotificationRule |
SystemNotificationServiceImpl.doesSystemNotificationSetContainRule(@NotNull NotificationRule rule) |
@Nullable NotificationRule |
SystemNotificationService.doesSystemNotificationSetContainRule(@NotNull NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
NotificationRule |
UsersNotificationImpl.getNotificationRule() |
NotificationRule |
UsersNotification.getNotificationRule()
The notification rule
|
@Nullable NotificationRule |
NotificationManagerImpl.getNotificationRuleById(long notificationId) |
NotificationRule |
NotificationSetImpl.getNotificationRuleById(long id) |
NotificationRule |
NotificationSet.getNotificationRuleById(long id) |
@Nullable NotificationRule |
NotificationManager.getNotificationRuleById(long notificationId)
Get a specific notification rule
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.filterNotificationRules(@NotNull Iterable<NotificationRule> iterable,
T event)
Filter passed Iterable by list of classes in notificationTypeFilter and by call to NotificationType#isNotificationRequired(Event).
|
protected Iterable<NotificationRule> |
AbstractNotificationEventListener.getNotificationRules(@NotNull ImmutablePlan plan,
T event)
Return notification rules effective for a given plan and event.
|
Set<NotificationRule> |
NotificationManagerImpl.getNotificationRules(@Nullable Plan plan) |
Set<NotificationRule> |
NotificationManager.getNotificationRules(@Nullable Plan plan)
Deprecated.
since 5.4 use
NotificationManager.getNotificationRules(com.atlassian.bamboo.plan.cache.ImmutablePlan) instead |
List<NotificationRule> |
NotificationSetImpl.getSortedNotificationRules() |
List<NotificationRule> |
NotificationSet.getSortedNotificationRules() |
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.
|
@Nullable NotificationRule |
SystemNotificationServiceImpl.doesSystemNotificationSetContainRule(@NotNull NotificationRule rule) |
@Nullable NotificationRule |
SystemNotificationService.doesSystemNotificationSetContainRule(@NotNull NotificationRule rule)
Checks if a identical system notification already exists (for validation purposes).
|
@Nullable NotificationRecipient |
NotificationManagerImpl.getNotificationRecipient(NotificationRule rule) |
@Nullable NotificationRecipient |
NotificationManager.getNotificationRecipient(NotificationRule rule)
Instantiate and populate notification recipient from a rule.
|
@Nullable NotificationType |
NotificationManagerImpl.getNotificationType(NotificationRule rule) |
@Nullable 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(@NotNull NotificationSet notificationSet,
long existingNotificationId,
@NotNull NotificationRule newNotificationRule) |
void |
NotificationManager.replaceNotificationRule(@NotNull NotificationSet notificationSet,
long existingNotificationId,
@NotNull 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(@NotNull NotificationRule notificationRule) |
void |
SystemNotificationServiceImpl.saveSystemNotificationRule(@NotNull NotificationRule notificationRule) |
void |
SystemNotificationService.saveSystemNotificationRule(@NotNull NotificationRule notificationRule)
Save an individual system notification rule.
|
void |
NotificationManager.saveSystemNotificationRule(@NotNull NotificationRule notificationRule)
Do not use this method.
|
| Constructor and Description |
|---|
UsersNotificationImpl(Plan plan,
NotificationRule notificationRule) |
| Modifier and Type | Method and Description |
|---|---|
static NotificationRule |
NotificationTestHelper.mockNotificationRule(NotificationManager notificationManager,
NotificationType notificationType,
NotificationRecipient notificationRecipient) |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<NotificationRule> |
BambooPredicates.hasNotificationRuleRecipient(@NotNull String recipient) |
static Predicate<NotificationRule> |
BambooPredicates.hasNotificationRuleRecipientType(@NotNull String recipientType) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable 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 © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.