Class WelcomeEmailBuilder
- java.lang.Object
-
- com.atlassian.confluence.user.notifications.WelcomeEmailBuilder
-
public class WelcomeEmailBuilder extends Object
CreatesNotificationData
instances for new users.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description WelcomeEmailBuilder(SettingsManager settingsManager, DataSourceFactory dataSourceFactory, UserVerificationTokenManager tokenManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationContext
buildContextFrom(ConfluenceUser user, NotificationData notificationData)
Constructs aNotificationContext
for the welcome email with the given notificationDataNotificationData
buildFrom(ConfluenceUser user)
BuildsNotificationData
for a welcome email for the given (new) user.
-
-
-
Constructor Detail
-
WelcomeEmailBuilder
public WelcomeEmailBuilder(SettingsManager settingsManager, DataSourceFactory dataSourceFactory, UserVerificationTokenManager tokenManager)
-
-
Method Detail
-
buildFrom
public NotificationData buildFrom(ConfluenceUser user)
BuildsNotificationData
for a welcome email for the given (new) user.- Parameters:
user
- the user- Returns:
- the data
-
buildContextFrom
public NotificationContext buildContextFrom(ConfluenceUser user, NotificationData notificationData)
Constructs aNotificationContext
for the welcome email with the given notificationData- Parameters:
user
- the user to send the email tonotificationData
- the data- Returns:
- the context
-
-