public class ChangeNoteUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ChangeNoteUtil.CommitMessageRange |
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_PRIVATE |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_REAL_USER |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_REVERT_OF |
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 |
static org.eclipse.jgit.revwalk.FooterKey |
FOOTER_WORK_IN_PROGRESS |
Constructor and Description |
---|
ChangeNoteUtil(ChangeNoteJson changeNoteJson,
LegacyChangeNoteRead legacyChangeNoteRead,
java.lang.String serverId) |
Modifier and Type | Method and Description |
---|---|
ChangeNoteJson |
getChangeNoteJson() |
LegacyChangeNoteRead |
getLegacyChangeNoteRead() |
org.eclipse.jgit.lib.PersonIdent |
newIdent(Account.Id authorId,
java.util.Date when,
org.eclipse.jgit.lib.PersonIdent serverIdent) |
org.eclipse.jgit.lib.PersonIdent |
newIdent(Account author,
java.util.Date when,
org.eclipse.jgit.lib.PersonIdent serverIdent) |
static java.util.Optional<ChangeNoteUtil.CommitMessageRange> |
parseCommitMessageRange(org.eclipse.jgit.revwalk.RevCommit commit) |
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_PRIVATE
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
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_WORK_IN_PROGRESS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_REVERT_OF
@Inject public ChangeNoteUtil(ChangeNoteJson changeNoteJson, LegacyChangeNoteRead legacyChangeNoteRead, java.lang.String serverId)
public LegacyChangeNoteRead getLegacyChangeNoteRead()
public ChangeNoteJson getChangeNoteJson()
public org.eclipse.jgit.lib.PersonIdent newIdent(Account.Id authorId, java.util.Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
public org.eclipse.jgit.lib.PersonIdent newIdent(Account author, java.util.Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
public static java.util.Optional<ChangeNoteUtil.CommitMessageRange> parseCommitMessageRange(org.eclipse.jgit.revwalk.RevCommit commit)