Package com.atlassian.jira.notification
Class AdhocNotificationServiceImpl
java.lang.Object
com.atlassian.jira.notification.AdhocNotificationServiceImpl
- All Implemented Interfaces:
AdhocNotificationService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.notification.AdhocNotificationService
AdhocNotificationService.ValiationOption, AdhocNotificationService.ValidateNotificationResult
-
Constructor Summary
ConstructorsConstructorDescriptionAdhocNotificationServiceImpl
(MailService mailService, UserManager userManager, GroupManager groupManager, WatcherService watcherService, VoteService voteService, PermissionManager permissionManager, I18nHelper.BeanFactory i18nBeanFactory, NotificationSchemeManager notificationSchemeManager, NotificationFilterManager notificationFilterManager, UserPreferencesManager userPreferencesManager) -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceOutcome<NotificationBuilder>
makeBuilder
(NotificationBuilder notificationBuilder, NotificationJsonBean jsonBean, I18nHelper i18nHelper) void
validateNotification
(NotificationBuilder notification, ApplicationUser user, Issue issue) validateNotification
(NotificationBuilder notification, ApplicationUser user, Issue issue, AdhocNotificationService.ValiationOption option)
-
Constructor Details
-
AdhocNotificationServiceImpl
public AdhocNotificationServiceImpl(MailService mailService, UserManager userManager, GroupManager groupManager, WatcherService watcherService, VoteService voteService, PermissionManager permissionManager, I18nHelper.BeanFactory i18nBeanFactory, NotificationSchemeManager notificationSchemeManager, NotificationFilterManager notificationFilterManager, UserPreferencesManager userPreferencesManager)
-
-
Method Details
-
makeBuilder
- Specified by:
makeBuilder
in interfaceAdhocNotificationService
-
makeBuilder
public static ServiceOutcome<NotificationBuilder> makeBuilder(NotificationBuilder notificationBuilder, NotificationJsonBean jsonBean, I18nHelper i18nHelper) -
validateNotification
public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, ApplicationUser user, Issue issue) - Specified by:
validateNotification
in interfaceAdhocNotificationService
-
validateNotification
public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, ApplicationUser user, Issue issue, AdhocNotificationService.ValiationOption option) - Specified by:
validateNotification
in interfaceAdhocNotificationService
-
sendNotification
- Specified by:
sendNotification
in interfaceAdhocNotificationService
-