public class CreateChangeSender extends NewChangeSender
Modifier and Type | Class and Description |
---|---|
static interface |
CreateChangeSender.Factory |
authors, change, changeData, changeMessage, emailOnlyAuthors, patchSet, patchSetInfo, projectState, stars, timestamp
branch
args, footers, fromId, messageClass, notify, soyContext, soyContextEmailData
Constructor and Description |
---|
CreateChangeSender(EmailArguments ea,
PermissionBackend permissionBackend,
Project.NameKey project,
Change.Id id) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Setup the message headers and envelope (TO, CC, BCC).
|
addExtraCC, addExtraCCByEmail, addReviewers, addReviewersByEmail, formatChange, getReviewerNames, setupSoyContext, supportsHtml
add, bccStarredBy, ccAllApprovals, ccExistingReviewers, format, formatFooter, getAuthors, getChangeDetail, getChangeMessageThreadId, getChangeUrl, getCoverLetter, getIncludeDiff, getPatchList, getPatchList, getProjectState, getUnifiedDiff, getWatchers, isVisibleTo, newChangeData, rcptToAuthors, removeUsersThatIgnoredTheChange, setChangeMessage, setFrom, setPatchSet, setPatchSet
add, getInstanceAndProjectName, getShortProjectName, getSshHost, includeWatchers, includeWatchers
add, add, add, add, add, add, add, addByEmail, addByEmail, appendHtml, appendText, getFromLine, getGerritHost, getNameEmailFor, getNameFor, getSettingsUrl, getUserNameEmailFor, removeHeader, removeUser, send, setHeader, setHeader, setNotify, shouldSendMessage, soyHtmlTemplate, textTemplate, useHtml
@Inject public CreateChangeSender(EmailArguments ea, PermissionBackend permissionBackend, Project.NameKey project, Change.Id id)
protected void init() throws com.google.gerrit.exceptions.EmailException
ChangeEmail
init
in class NewChangeSender
com.google.gerrit.exceptions.EmailException
- if an error occurred.