public class WelcomeEmailBuilder extends Object
NotificationData
instances for new users.Constructor and Description |
---|
WelcomeEmailBuilder(SettingsManager settingsManager,
DataSourceFactory dataSourceFactory,
UserVerificationTokenManager tokenManager) |
Modifier and Type | Method and Description |
---|---|
NotificationContext |
buildContextFrom(ConfluenceUser user,
NotificationData notificationData)
Constructs a
NotificationContext for the welcome email with the given notificationData |
NotificationData |
buildFrom(ConfluenceUser user)
Builds
NotificationData for a welcome email for the given (new) user. |
public WelcomeEmailBuilder(SettingsManager settingsManager, DataSourceFactory dataSourceFactory, UserVerificationTokenManager tokenManager)
public NotificationData buildFrom(ConfluenceUser user)
NotificationData
for a welcome email for the given (new) user.user
- the userpublic NotificationContext buildContextFrom(ConfluenceUser user, NotificationData notificationData)
NotificationContext
for the welcome email with the given notificationDatauser
- the user to send the email tonotificationData
- the dataCopyright © 2003–2018 Atlassian. All rights reserved.