public class ChangeNoteUtil extends Object
Modifier and Type | Field and Description |
---|---|
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_ASSIGNEE |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_BRANCH |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_CHANGE_ID |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_COMMIT |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_CURRENT |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_GROUPS |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_HASHTAGS |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_LABEL |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_PATCH_SET |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_PATCH_SET_DESCRIPTION |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_READ_ONLY_UNTIL |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_REAL_USER |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_STATUS |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_SUBJECT |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_SUBMISSION_ID |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_SUBMITTED_WITH |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_TAG |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_TOPIC |
Constructor and Description |
---|
ChangeNoteUtil(AccountCache accountCache,
org.eclipse.jgit.lib.PersonIdent serverIdent,
String anonymousCowardName,
String serverId,
org.eclipse.jgit.lib.Config config) |
Modifier and Type | Method and Description |
---|---|
static String |
formatTime(org.eclipse.jgit.lib.PersonIdent ident,
Timestamp t) |
com.google.gson.Gson |
getGson() |
String |
getServerId() |
boolean |
getWriteJson() |
org.eclipse.jgit.lib.PersonIdent |
newIdent(Account author,
Date when,
org.eclipse.jgit.lib.PersonIdent serverIdent,
String anonymousCowardName) |
Account.Id |
parseIdent(org.eclipse.jgit.lib.PersonIdent ident,
Change.Id changeId) |
List<Comment> |
parseNote(byte[] note,
org.eclipse.jgit.util.MutableInteger p,
Change.Id changeId) |
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_ASSIGNEE
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_BRANCH
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_CHANGE_ID
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_COMMIT
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_CURRENT
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_GROUPS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_HASHTAGS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_LABEL
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_PATCH_SET
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_PATCH_SET_DESCRIPTION
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_READ_ONLY_UNTIL
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_REAL_USER
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_STATUS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_SUBJECT
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_SUBMISSION_ID
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_SUBMITTED_WITH
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_TOPIC
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_TAG
@Inject public ChangeNoteUtil(AccountCache accountCache, org.eclipse.jgit.lib.PersonIdent serverIdent, String anonymousCowardName, String serverId, org.eclipse.jgit.lib.Config config)
public org.eclipse.jgit.lib.PersonIdent newIdent(Account author, Date when, org.eclipse.jgit.lib.PersonIdent serverIdent, String anonymousCowardName)
public boolean getWriteJson()
public com.google.gson.Gson getGson()
public String getServerId()
public Account.Id parseIdent(org.eclipse.jgit.lib.PersonIdent ident, Change.Id changeId) throws org.eclipse.jgit.errors.ConfigInvalidException
org.eclipse.jgit.errors.ConfigInvalidException