public class MergeFailSender extends ReplyToChangeSender
Modifier and Type | Class and Description |
---|---|
static interface |
MergeFailSender.Factory |
authors, change, changeData, changeMessage, emailOnlyAuthors, patchSet, patchSetInfo, projectState
branch, project
args, fromId, messageClass, velocityContext
Constructor and Description |
---|
MergeFailSender(EmailArguments ea,
com.google.gerrit.reviewdb.client.Change c) |
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).
|
add, bccStarredBy, ccAllApprovals, ccExistingReviewers, format, formatChangeDetail, formatCoverLetter, formatFooter, getAuthors, getChangeDetail, getChangeMessageThreadId, getChangeUrl, getCoverLetter, getIncludeDiff, getPatchList, getProjectOwners, getProjectState, getUnifiedDiff, getWatchers, isVisibleTo, rcptToAuthors, setChangeMessage, setFrom, setPatchSet, setPatchSet, setupVelocityContext
add, getListId, getSshHost, includeWatchers
add, add, add, appendText, getFromLine, getGerritHost, getGerritUrl, getNameEmailFor, getNameFor, getSettingsUrl, joinStrings, joinStrings, send, setHeader, setHeader, setVHeader, shouldSendMessage, velocify, velocifyFile
@Inject public MergeFailSender(EmailArguments ea, com.google.gerrit.reviewdb.client.Change c)
protected void init() throws com.google.gerrit.common.errors.EmailException
ChangeEmail
init
in class ReplyToChangeSender
com.google.gerrit.common.errors.EmailException
- if an error occurred.protected void formatChange() throws com.google.gerrit.common.errors.EmailException
ChangeEmail
OutgoingEmail.appendText(String)
.formatChange
in class ChangeEmail
com.google.gerrit.common.errors.EmailException