public class RevertedSender extends ReplyToChangeSender
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevertedSender.Factory |
authors, change, changeData, changeMessage, emailOnlyAuthors, patchSet, patchSetInfo, projectState, stars, timestampbranchargs, footers, fromId, messageClass, notify, soyContext, soyContextEmailData, velocityContext| Constructor and Description |
|---|
RevertedSender(EmailArguments ea,
Project.NameKey project,
Change.Id id) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
formatChange()
Format the message body by calling
OutgoingEmail.appendText(String). |
protected void |
init()
Setup the message headers and envelope (TO, CC, BCC).
|
protected boolean |
supportsHtml()
Override this method to enable HTML in a subclass.
|
add, bccStarredBy, ccAllApprovals, ccExistingReviewers, format, formatChangeDetail, formatCoverLetter, formatFooter, getAuthors, getChangeDetail, getChangeMessageThreadId, getChangeUrl, getCoverLetter, getIncludeDiff, getPatchList, getProjectOwners, getProjectState, getUnifiedDiff, getWatchers, isVisibleTo, newChangeData, rcptToAuthors, removeUsersThatIgnoredTheChange, setChangeMessage, setChangeMessage, setFrom, setPatchSet, setPatchSet, setupSoyContext, setupVelocityContextadd, getListId, getSshHost, includeWatchers, includeWatchersadd, add, add, appendHtml, appendText, getFromLine, getGerritHost, getGerritUrl, getNameEmailFor, getNameFor, getSettingsUrl, getUserNameEmailFor, joinStrings, joinStrings, removeHeader, removeUser, send, setAccountsToNotify, setHeader, setHeader, setNotify, setVHeader, shouldSendMessage, soyHtmlTemplate, soyTextTemplate, textTemplate, useHtml, velocify, velocifyFile@Inject public RevertedSender(EmailArguments ea, Project.NameKey project, Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmExceptionprotected void init()
throws EmailException
ChangeEmailinit in class ReplyToChangeSenderEmailException - if an error occurred.protected void formatChange()
throws EmailException
ChangeEmailOutgoingEmail.appendText(String).formatChange in class ChangeEmailEmailExceptionprotected boolean supportsHtml()
OutgoingEmailsupportsHtml in class OutgoingEmail