Package com.google.gerrit.server.notedb
Class ChangeNoteUtil
- java.lang.Object
-
- com.google.gerrit.server.notedb.ChangeNoteUtil
-
public class ChangeNoteUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeNoteUtil.CommitMessageRange
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ChangeNoteUtil(ChangeNoteJson changeNoteJson, String serverId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeNoteJson
getChangeNoteJson()
org.eclipse.jgit.lib.PersonIdent
newIdent(Account.Id authorId, Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
org.eclipse.jgit.lib.PersonIdent
newIdent(Account author, Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
static Optional<ChangeNoteUtil.CommitMessageRange>
parseCommitMessageRange(org.eclipse.jgit.revwalk.RevCommit commit)
-
-
-
Field Detail
-
FOOTER_ASSIGNEE
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_ASSIGNEE
-
FOOTER_BRANCH
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_BRANCH
-
FOOTER_CHANGE_ID
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_CHANGE_ID
-
FOOTER_COMMIT
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_COMMIT
-
FOOTER_CURRENT
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_CURRENT
-
FOOTER_GROUPS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_GROUPS
-
FOOTER_HASHTAGS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_HASHTAGS
-
FOOTER_LABEL
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_LABEL
-
FOOTER_PATCH_SET
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_PATCH_SET
-
FOOTER_PATCH_SET_DESCRIPTION
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_PATCH_SET_DESCRIPTION
-
FOOTER_PRIVATE
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_PRIVATE
-
FOOTER_REAL_USER
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_REAL_USER
-
FOOTER_STATUS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_STATUS
-
FOOTER_SUBJECT
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_SUBJECT
-
FOOTER_SUBMISSION_ID
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_SUBMISSION_ID
-
FOOTER_SUBMITTED_WITH
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_SUBMITTED_WITH
-
FOOTER_TOPIC
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_TOPIC
-
FOOTER_TAG
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_TAG
-
FOOTER_WORK_IN_PROGRESS
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_WORK_IN_PROGRESS
-
FOOTER_REVERT_OF
public static final org.eclipse.jgit.revwalk.FooterKey FOOTER_REVERT_OF
-
-
Constructor Detail
-
ChangeNoteUtil
@Inject public ChangeNoteUtil(ChangeNoteJson changeNoteJson, String serverId)
-
-
Method Detail
-
getChangeNoteJson
public ChangeNoteJson getChangeNoteJson()
-
newIdent
public org.eclipse.jgit.lib.PersonIdent newIdent(Account.Id authorId, Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
-
newIdent
public org.eclipse.jgit.lib.PersonIdent newIdent(Account author, Date when, org.eclipse.jgit.lib.PersonIdent serverIdent)
-
parseCommitMessageRange
public static Optional<ChangeNoteUtil.CommitMessageRange> parseCommitMessageRange(org.eclipse.jgit.revwalk.RevCommit commit)
-
-