public class AddReviewerSender extends NewChangeSender
Modifier and Type | Class and Description |
---|---|
static interface |
AddReviewerSender.Factory |
authors, change, changeData, changeMessage, emailOnlyAuthors, patchSet, patchSetInfo, projectState
branch
args, fromId, messageClass, velocityContext
Constructor and Description |
---|
AddReviewerSender(EmailArguments ea,
com.google.gerrit.reviewdb.client.Change.Id id) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Setup the message headers and envelope (TO, CC, BCC).
|
addExtraCC, addReviewers, formatChange, getReviewerNames
add, bccStarredBy, ccAllApprovals, ccExistingReviewers, format, formatChangeDetail, formatCoverLetter, formatFooter, getAuthors, getChangeDetail, getChangeMessageThreadId, getChangeUrl, getCoverLetter, getIncludeDiff, getPatchList, getProjectOwners, getProjectState, getUnifiedDiff, getWatchers, isVisibleTo, newChangeData, rcptToAuthors, setChangeMessage, setFrom, setPatchSet, setPatchSet, setupVelocityContext
add, getListId, getSshHost, includeWatchers
add, add, add, appendText, getFromLine, getGerritHost, getGerritUrl, getNameEmailFor, getNameFor, getSettingsUrl, getUserNameEmailFor, joinStrings, joinStrings, send, setHeader, setHeader, setVHeader, shouldSendMessage, velocify, velocifyFile
@Inject public AddReviewerSender(EmailArguments ea, com.google.gerrit.reviewdb.client.Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
protected void init() throws com.google.gerrit.common.errors.EmailException
ChangeEmail
init
in class NewChangeSender
com.google.gerrit.common.errors.EmailException
- if an error occurred.