public class ChangeNoteUtil extends Object
Constructor and Description |
---|
ChangeNoteUtil(AccountCache accountCache,
org.eclipse.jgit.lib.PersonIdent serverIdent,
String anonymousCowardName,
String serverId) |
Modifier and Type | Method and Description |
---|---|
static String |
formatTime(org.eclipse.jgit.lib.PersonIdent ident,
Timestamp t) |
org.eclipse.jgit.lib.PersonIdent |
newIdent(com.google.gerrit.reviewdb.client.Account author,
Date when,
org.eclipse.jgit.lib.PersonIdent serverIdent,
String anonymousCowardName) |
com.google.gerrit.reviewdb.client.Account.Id |
parseIdent(org.eclipse.jgit.lib.PersonIdent ident,
com.google.gerrit.reviewdb.client.Change.Id changeId) |
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, String anonymousCowardName, String serverId)
public org.eclipse.jgit.lib.PersonIdent newIdent(com.google.gerrit.reviewdb.client.Account author, Date when, org.eclipse.jgit.lib.PersonIdent serverIdent, 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 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