Package com.atlassian.bitbucket.mail
Class SoyMailMessageRequest
java.lang.Object
com.atlassian.bitbucket.mail.SoyMailMessageRequest
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionCan be passed that will be given the opportunity to add to the MailMessage.Builder, returning a new Builder to use for the MailMessage.
-
Method Details
-
getContext
-
getCssModuleKey
- Returns:
- the key of the css module to inline into the mail message
-
getRecipients
- Returns:
- the list of users to be sent the mail
-
getSoyTemplateModuleKey
- Returns:
- the key of the module containing the soy template
-
getSoyTemplateName
- Returns:
- the name of the soy template to render
-
getSubjectKey
- Returns:
- the i18n key of the mail subject line
-
getMessageEffector
Can be passed that will be given the opportunity to add to the MailMessage.Builder, returning a new Builder to use for the MailMessage. The SoyMailer will set the text, to, subject etc, so these can be over-ridden or used to set headers.- Returns:
- a
MailMessage.Builder
-