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 AdhocNotificationServicepublic static ServiceOutcome<NotificationBuilder> makeBuilder(NotificationBuilder notificationBuilder, NotificationJsonBean jsonBean, I18nHelper i18nHelper)
public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, ApplicationUser user, Issue issue)
validateNotification in interface AdhocNotificationServicepublic AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, ApplicationUser user, Issue issue, AdhocNotificationService.ValiationOption option)
validateNotification in interface AdhocNotificationServicepublic void sendNotification(AdhocNotificationService.ValidateNotificationResult result)
sendNotification in interface AdhocNotificationServiceCopyright © 2002-2022 Atlassian. All Rights Reserved.