public class LegacyChangeNoteWrite
extends java.lang.Object
Constructor and Description |
---|
LegacyChangeNoteWrite(org.eclipse.jgit.lib.PersonIdent serverIdent,
java.lang.String serverId) |
Modifier and Type | Method and Description |
---|---|
void |
buildNote(com.google.common.collect.ListMultimap<java.lang.Integer,Comment> comments,
java.io.OutputStream out)
Build a note that contains the metadata for and the contents of all of the comments in the
given comments.
|
java.lang.String |
getServerId() |
org.eclipse.jgit.lib.PersonIdent |
newIdent(Account.Id authorId,
java.util.Date when,
org.eclipse.jgit.lib.PersonIdent serverIdent) |
@Inject public LegacyChangeNoteWrite(org.eclipse.jgit.lib.PersonIdent serverIdent, java.lang.String serverId)
public org.eclipse.jgit.lib.PersonIdent newIdent(Account.Id authorId, java.util.Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
public java.lang.String getServerId()
public void buildNote(com.google.common.collect.ListMultimap<java.lang.Integer,Comment> comments, java.io.OutputStream out)
comments
- Comments to be written to the output stream, keyed by patch set ID; multiple
patch sets are allowed since base revisions may be shared across patch sets. All of the
comments must share the same RevId, and all the comments for a given patch set must have
the same side.out
- output stream to write to.