public final class AdhocNotificationServiceImpl extends Object implements AdhocNotificationService
AdhocNotificationService.ValiationOption, AdhocNotificationService.ValidateNotificationResult
Constructor and Description |
---|
AdhocNotificationServiceImpl(MailService mailService,
UserManager userManager,
GroupManager groupManager,
WatcherService watcherService,
VoteService voteService,
PermissionManager permissionManager,
I18nHelper.BeanFactory i18nBeanFactory,
NotificationSchemeManager notificationSchemeManager,
NotificationFilterManager notificationFilterManager,
UserPreferencesManager userPreferencesManager) |
Modifier and Type | Method and Description |
---|---|
NotificationBuilder |
makeBuilder() |
static ServiceOutcome<NotificationBuilder> |
makeBuilder(NotificationBuilder notificationBuilder,
NotificationJsonBean jsonBean,
I18nHelper i18nHelper) |
void |
sendNotification(AdhocNotificationService.ValidateNotificationResult result) |
AdhocNotificationService.ValidateNotificationResult |
validateNotification(NotificationBuilder notification,
ApplicationUser user,
Issue issue) |
AdhocNotificationService.ValidateNotificationResult |
validateNotification(NotificationBuilder notification,
ApplicationUser user,
Issue issue,
AdhocNotificationService.ValiationOption option) |
public AdhocNotificationServiceImpl(MailService mailService, UserManager userManager, GroupManager groupManager, WatcherService watcherService, VoteService voteService, PermissionManager permissionManager, I18nHelper.BeanFactory i18nBeanFactory, NotificationSchemeManager notificationSchemeManager, NotificationFilterManager notificationFilterManager, UserPreferencesManager userPreferencesManager)
public NotificationBuilder makeBuilder()
makeBuilder
in interface AdhocNotificationService
public static ServiceOutcome<NotificationBuilder> makeBuilder(NotificationBuilder notificationBuilder, NotificationJsonBean jsonBean, I18nHelper i18nHelper)
public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, ApplicationUser user, Issue issue)
validateNotification
in interface AdhocNotificationService
public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, ApplicationUser user, Issue issue, AdhocNotificationService.ValiationOption option)
validateNotification
in interface AdhocNotificationService
public void sendNotification(AdhocNotificationService.ValidateNotificationResult result)
sendNotification
in interface AdhocNotificationService
Copyright © 2002-2019 Atlassian. All Rights Reserved.