Package com.google.gerrit.server.change
Interface EmailReviewComments.Factory
-
- Enclosing class:
- EmailReviewComments
public static interface EmailReviewComments.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmailReviewComments
create(NotifyResolver.Result notify, ChangeNotes notes, PatchSet patchSet, IdentifiedUser user, String message, Timestamp timestamp, List<? extends Comment> comments, String patchSetComment, List<LabelVote> labels, RepoView repoView)
Creates handle for sending email
-
-
-
Method Detail
-
create
EmailReviewComments create(NotifyResolver.Result notify, ChangeNotes notes, PatchSet patchSet, IdentifiedUser user, String message, Timestamp timestamp, List<? extends Comment> comments, String patchSetComment, List<LabelVote> labels, RepoView repoView)
Creates handle for sending email- Parameters:
notify
- setting for handling notification.notes
- change notes.patchSet
- patch set corresponding to the top-level opuser
- user the email should come from.message
- used by text template only. The contents of this message typically include the "Patch set N" header and "(M comments)".timestamp
- timestamp when the comments were added.comments
- inline comments.patchSetComment
- used by HTML template only: some quasi-human-generated text. The contents should *not* include a "Patch set N" header or "(M comments)" footer, as these will be added automatically in soy in a structured way.labels
- labels applied as part of this review operation.
-
-