public class HttpPasswordUpdateSender extends OutgoingEmail
Modifier and Type | Class and Description |
---|---|
static interface |
HttpPasswordUpdateSender.Factory |
args, footers, fromId, messageClass, notify, soyContext, soyContextEmailData
Constructor and Description |
---|
HttpPasswordUpdateSender(EmailArguments ea,
IdentifiedUser user,
String operation) |
Modifier and Type | Method and Description |
---|---|
protected void |
format()
Format the message body by calling
OutgoingEmail.appendText(String) . |
String |
getEmail() |
String |
getUserNameEmail() |
protected void |
init()
Setup the message headers and envelope (TO, CC, BCC).
|
protected void |
setupSoyContext() |
protected boolean |
shouldSendMessage() |
protected boolean |
supportsHtml()
Override this method to enable HTML in a subclass.
|
add, add, add, add, add, add, add, add, addByEmail, addByEmail, appendHtml, appendText, getFromLine, getGerritHost, getNameEmailFor, getNameFor, getSettingsUrl, getUserNameEmailFor, isVisibleTo, removeHeader, removeUser, send, setFrom, setHeader, setHeader, setNotify, soyHtmlTemplate, textTemplate, useHtml
public HttpPasswordUpdateSender(EmailArguments ea, IdentifiedUser user, String operation)
protected void init() throws com.google.gerrit.exceptions.EmailException
OutgoingEmail
init
in class OutgoingEmail
com.google.gerrit.exceptions.EmailException
- if an error occurred.protected boolean shouldSendMessage()
shouldSendMessage
in class OutgoingEmail
protected void format() throws com.google.gerrit.exceptions.EmailException
OutgoingEmail
OutgoingEmail.appendText(String)
.format
in class OutgoingEmail
com.google.gerrit.exceptions.EmailException
public String getEmail()
public String getUserNameEmail()
protected void setupSoyContext()
setupSoyContext
in class OutgoingEmail
protected boolean supportsHtml()
OutgoingEmail
supportsHtml
in class OutgoingEmail