Class AddToAttentionSetSender
- java.lang.Object
-
- com.google.gerrit.server.mail.send.OutgoingEmail
-
- com.google.gerrit.server.mail.send.NotificationEmail
-
- com.google.gerrit.server.mail.send.ChangeEmail
-
- com.google.gerrit.server.mail.send.ReplyToChangeSender
-
- com.google.gerrit.server.mail.send.AttentionSetSender
-
- com.google.gerrit.server.mail.send.AddToAttentionSetSender
-
public class AddToAttentionSetSender extends AttentionSetSender
Let users know of a new user in the attention set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AddToAttentionSetSender.Factory
-
Field Summary
-
Fields inherited from class com.google.gerrit.server.mail.send.ChangeEmail
authors, change, changeData, changeMessage, emailOnlyAttentionSetIfEnabled, emailOnlyAuthors, patchSet, patchSetInfo, projectState, stars, timestamp
-
Fields inherited from class com.google.gerrit.server.mail.send.NotificationEmail
branch
-
Fields inherited from class com.google.gerrit.server.mail.send.OutgoingEmail
args, footers, fromId, messageClass, notify, soyContext, soyContextEmailData
-
-
Constructor Summary
Constructors Constructor Description AddToAttentionSetSender(EmailArguments args, Project.NameKey project, Change.Id changeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
formatChange()
Format the message body by callingOutgoingEmail.appendText(String)
.-
Methods inherited from class com.google.gerrit.server.mail.send.AttentionSetSender
init, setAttentionSetUser, setReason, setupSoyContext
-
Methods inherited from class com.google.gerrit.server.mail.send.ChangeEmail
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
-
Methods inherited from class com.google.gerrit.server.mail.send.NotificationEmail
add, getInstanceAndProjectName, getShortProjectName, getSshHost, includeWatchers, includeWatchers
-
Methods inherited from class com.google.gerrit.server.mail.send.OutgoingEmail
add, add, add, addByEmail, addByEmail, appendHtml, appendText, getFromLine, getGerritHost, getNameEmailFor, getNameFor, getSettingsUrl, getUserNameEmailFor, removeHeader, removeUser, send, setHeader, setHeader, setMessageId, setNotify, shouldSendMessage, soyHtmlTemplate, textTemplate, useHtml
-
-
-
-
Constructor Detail
-
AddToAttentionSetSender
@Inject public AddToAttentionSetSender(EmailArguments args, Project.NameKey project, Change.Id changeId)
-
-
Method Detail
-
formatChange
protected void formatChange() throws com.google.gerrit.exceptions.EmailException
Description copied from class:ChangeEmail
Format the message body by callingOutgoingEmail.appendText(String)
.- Specified by:
formatChange
in classChangeEmail
- Throws:
com.google.gerrit.exceptions.EmailException
-
-