public class ChangeNoteUtil
extends java.lang.Object
Constructor and Description |
---|
ChangeNoteUtil(AccountCache accountCache,
org.eclipse.jgit.lib.PersonIdent serverIdent,
java.lang.String anonymousCowardName,
java.lang.String serverId) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatTime(org.eclipse.jgit.lib.PersonIdent ident,
java.sql.Timestamp t) |
org.eclipse.jgit.lib.PersonIdent |
newIdent(com.google.gerrit.reviewdb.client.Account author,
java.util.Date when,
org.eclipse.jgit.lib.PersonIdent serverIdent,
java.lang.String anonymousCowardName) |
com.google.gerrit.reviewdb.client.Account.Id |
parseIdent(org.eclipse.jgit.lib.PersonIdent ident,
com.google.gerrit.reviewdb.client.Change.Id changeId) |
java.util.List<com.google.gerrit.reviewdb.client.PatchLineComment> |
parseNote(byte[] note,
org.eclipse.jgit.util.MutableInteger p,
com.google.gerrit.reviewdb.client.Change.Id changeId,
com.google.gerrit.reviewdb.client.PatchLineComment.Status status) |
@Inject public ChangeNoteUtil(AccountCache accountCache, org.eclipse.jgit.lib.PersonIdent serverIdent, java.lang.String anonymousCowardName, java.lang.String serverId)
public static java.lang.String formatTime(org.eclipse.jgit.lib.PersonIdent ident, java.sql.Timestamp t)
public org.eclipse.jgit.lib.PersonIdent newIdent(com.google.gerrit.reviewdb.client.Account author, java.util.Date when, org.eclipse.jgit.lib.PersonIdent serverIdent, java.lang.String anonymousCowardName)
public com.google.gerrit.reviewdb.client.Account.Id parseIdent(org.eclipse.jgit.lib.PersonIdent ident, com.google.gerrit.reviewdb.client.Change.Id changeId) throws org.eclipse.jgit.errors.ConfigInvalidException
org.eclipse.jgit.errors.ConfigInvalidException
public java.util.List<com.google.gerrit.reviewdb.client.PatchLineComment> parseNote(byte[] note, org.eclipse.jgit.util.MutableInteger p, com.google.gerrit.reviewdb.client.Change.Id changeId, com.google.gerrit.reviewdb.client.PatchLineComment.Status status) throws org.eclipse.jgit.errors.ConfigInvalidException
org.eclipse.jgit.errors.ConfigInvalidException