Interface EmailReviewComments.Factory

Enclosing class:
EmailReviewComments

public static interface EmailReviewComments.Factory
  • Method Details

    • create

      EmailReviewComments create(PostUpdateContext postUpdateContext, PatchSet patchSet, org.eclipse.jgit.lib.ObjectId preUpdateMetaId, String message, List<? extends Comment> comments, String patchSetComment, List<LabelVote> labels)
      Creates handle for sending email
      Parameters:
      postUpdateContext - the post update context from the calling BatchUpdateOp
      patchSet - patch set corresponding to the top-level op
      preUpdateMetaId - the SHA1 to which the notes branch pointed before the update
      message - used by text template only. The contents of this message typically include the "Patch set N" header and "(M comments)".
      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.