Uses of Interface
com.atlassian.bamboo.notification.NotificationRule
Package
Description
-
Uses of NotificationRule in com.atlassian.bamboo.brokenbuildtracker.notifications
Modifier and TypeMethodDescriptionprotected Iterable<NotificationRule>
ResponsibilitiesUpdatedNotificationListener.getNotificationRules
(@NotNull ImmutablePlan plan, @NotNull UserResponsibilityEvent event) -
Uses of NotificationRule in com.atlassian.bamboo.configuration.external.exporters
Modifier and TypeMethodDescription@NotNull List<NotificationRule>
NotificationExporter.importNotificationRules
(@NotNull com.atlassian.bamboo.specs.api.model.notification.NotificationProperties notification, @NotNull com.atlassian.bamboo.specs.api.model.EntityProperties owner) @NotNull List<NotificationRule>
NotificationExporterImpl.importNotificationRules
(@NotNull com.atlassian.bamboo.specs.api.model.notification.NotificationProperties notification, @NotNull com.atlassian.bamboo.specs.api.model.EntityProperties owner) Modifier and TypeMethodDescription@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) -
Uses of NotificationRule in com.atlassian.bamboo.deployments.environments.service
Modifier and TypeMethodDescriptionvoid
EnvironmentService.addNotification
(long environmentId, @NotNull NotificationRule newRule) Adds a new notification to the environment notificationsvoid
EnvironmentServiceImpl.addNotification
(long environmentId, @NotNull NotificationRule newRule) void
EnvironmentService.replaceNotification
(long environmentId, long oldNotificationId, @NotNull NotificationRule newRule) Replaces notification in the environment's notification set.void
EnvironmentServiceImpl.replaceNotification
(long environmentId, long oldNotificationId, @NotNull NotificationRule newRule) -
Uses of NotificationRule in com.atlassian.bamboo.matcher.notification
Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionboolean
HasMatchingNotificationRule.matchesSafely
(NotificationRule notificationRule) -
Uses of NotificationRule in com.atlassian.bamboo.migration.stream.notifications
Modifier and TypeMethodDescriptionprotected @NotNull NotificationRule
NotificationRuleMapper.createItemInstance
(org.codehaus.staxmate.in.SMInputCursor inputCursor) Modifier and TypeMethodDescriptionprotected 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) -
Uses of NotificationRule in com.atlassian.bamboo.notification
Modifier and TypeFieldDescriptionstatic javax.persistence.metamodel.SetAttribute<NotificationSetImpl,
NotificationRule> NotificationSetImpl_.notificationRules
static javax.persistence.metamodel.ListAttribute<NotificationSetImpl,
NotificationRule> NotificationSetImpl_.sortedNotificationRules
Modifier and TypeMethodDescription@NotNull NotificationRule
NotificationManager.createNotificationRule
(@NotNull Class<? extends NotificationType> notificationTypeClass, @Nullable String conditionData, @NotNull Class<? extends NotificationRecipient> recipientTypeClass, @Nullable String recipientString) NotificationManager.createNotificationRule
(String conditionKey, String conditionData, String recipientString, String recipientType) Create notification rule and provide required managers.@NotNull NotificationRule
NotificationManagerImpl.createNotificationRule
(@NotNull Class<? extends NotificationType> notificationTypeClass, @Nullable String conditionData, @NotNull Class<? extends NotificationRecipient> recipientTypeClass, @Nullable String recipientString) NotificationManagerImpl.createNotificationRule
(String conditionKey, String conditionData, String recipientString, String recipientType) 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@NotNull NotificationRule
NotificationManagerImpl.createNotificationRuleFromAction
(String notificationTypeKey, String notificationRecipientKey, Map<String, String[]> actionParams) @Nullable NotificationRule
SystemNotificationService.doesSystemNotificationSetContainRule
(@NotNull NotificationRule rule) Checks if a identical system notification already exists (for validation purposes).@Nullable NotificationRule
SystemNotificationServiceImpl.doesSystemNotificationSetContainRule
(@NotNull NotificationRule rule) UsersNotification.getNotificationRule()
The notification ruleUsersNotificationImpl.getNotificationRule()
@Nullable NotificationRule
NotificationManager.getNotificationRuleById
(long notificationId) Get a specific notification rule@Nullable NotificationRule
NotificationManagerImpl.getNotificationRuleById
(long notificationId) NotificationSet.getNotificationRuleById
(long id) NotificationSetImpl.getNotificationRuleById
(long id) Modifier and TypeMethodDescriptionprotected 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.@NotNull Set<NotificationRule>
NotificationManager.getNotificationRules
(@Nullable ImmutablePlan plan) Extract notification rules for a plan.@NotNull Set<NotificationRule>
NotificationManagerImpl.getNotificationRules
(@Nullable ImmutablePlan plan) @NotNull Set<NotificationRule>
NotificationSet.getNotificationRules()
@NotNull Set<NotificationRule>
NotificationSetImpl.getNotificationRules()
NotificationSet.getSortedNotificationRules()
NotificationSetImpl.getSortedNotificationRules()
protected Iterable<NotificationRule>
AbstractNotificationEventListener.getSystemNotificationRules
(T event) Return system notification rules effective for a given event.@NotNull List<NotificationRule>
SystemNotificationService.getSystemNotificationRules()
Get a copy of all system notification rules.@NotNull List<NotificationRule>
SystemNotificationServiceImpl.getSystemNotificationRules()
Modifier and TypeMethodDescriptionvoid
NotificationSet.addNotification
(NotificationRule notificationRule) void
NotificationSetImpl.addNotification
(NotificationRule notificationRule) int
NotificationRuleImpl.compareTo
(NotificationRule o) void
NotificationDao.deleteNotification
(NotificationRule rule) Used to remove a notification from db.void
NotificationHibernateDao.deleteNotification
(NotificationRule rule) @Nullable NotificationRule
SystemNotificationService.doesSystemNotificationSetContainRule
(@NotNull NotificationRule rule) Checks if a identical system notification already exists (for validation purposes).@Nullable NotificationRule
SystemNotificationServiceImpl.doesSystemNotificationSetContainRule
(@NotNull NotificationRule rule) @Nullable NotificationRecipient
NotificationManager.getNotificationRecipient
(NotificationRule rule) Instantiate and populate notification recipient from a rule.@Nullable NotificationRecipient
NotificationManagerImpl.getNotificationRecipient
(NotificationRule rule) @Nullable NotificationType
NotificationManager.getNotificationType
(NotificationRule rule) Instantiate and populate notification type from a rule.@Nullable NotificationType
NotificationManagerImpl.getNotificationType
(NotificationRule rule) 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.boolean
NotificationManagerImpl.isRecipientUserBase
(NotificationRule notificationRule) void
NotificationManager.replaceNotificationRule
(@NotNull NotificationSet notificationSet, long existingNotificationId, @NotNull NotificationRule newNotificationRule) Replaces a notification rule with the new definition.void
NotificationManagerImpl.replaceNotificationRule
(@NotNull NotificationSet notificationSet, long existingNotificationId, @NotNull NotificationRule newNotificationRule) void
NotificationDao.saveNotificationRule
(NotificationRule newRule) Save new/existing notification rulevoid
NotificationHibernateDao.saveNotificationRule
(NotificationRule newRule) void
NotificationManager.saveSystemNotificationRule
(@NotNull NotificationRule notificationRule) Do not use this method.void
NotificationManagerImpl.saveSystemNotificationRule
(@NotNull NotificationRule notificationRule) void
SystemNotificationService.saveSystemNotificationRule
(@NotNull NotificationRule notificationRule) Save an individual system notification rule.void
SystemNotificationServiceImpl.saveSystemNotificationRule
(@NotNull NotificationRule notificationRule) Modifier and TypeMethodDescriptionprotected ResultsSummary
AbstractNotificationEventListener.fetchResultSummaryIfRequiredByNotificationRules
(@NotNull PlanResultKey planResultKey, @NotNull Iterable<NotificationRule> notificationRules) 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).void
NotificationSetImpl.setNotificationRules
(@NotNull Set<NotificationRule> notificationRules) ModifierConstructorDescriptionUsersNotificationImpl
(Plan plan, NotificationRule notificationRule) -
Uses of NotificationRule in com.atlassian.bamboo.testutils.notification
Modifier and TypeMethodDescriptionstatic NotificationRule
NotificationTestHelper.mockNotificationRule
(NotificationManager notificationManager, NotificationType notificationType, NotificationRecipient notificationRecipient) -
Uses of NotificationRule in com.atlassian.bamboo.utils
Modifier and TypeMethodDescriptionstatic Predicate<NotificationRule>
BambooPredicates.hasNotificationRuleRecipient
(@NotNull String recipient) static Predicate<NotificationRule>
BambooPredicates.hasNotificationRuleRecipientType
(@NotNull String recipientType) -
Uses of NotificationRule in com.atlassian.bamboo.ww2.actions.admin.bulk
Modifier and TypeMethodDescription@Nullable NotificationRule
AddNotificationBulkAction.getNewNotification
(Map<String, String[]> params) -
Uses of NotificationRule in com.atlassian.bamboo.ww2.actions.admin.notification
-
Uses of NotificationRule in com.atlassian.bamboo.ww2.actions.admin.user
Modifier and TypeMethodDescriptionboolean
ConfigureNotificationPreferences.isRecipientUserBased
(NotificationRule notificationRule)