public interface PullRequestCommitEnricher
Modifier and Type | Method and Description |
---|---|
Commit |
enrich(PullRequest pullRequest,
Commit commit,
Collection<String> propertyKeys)
Enrich a single commit with properties from the
CommitIndex . |
Page<Commit> |
enrichPage(PullRequest pullRequest,
Page<Commit> page,
Collection<String> propertyKeys)
Enrich a page of commits with properties from the
CommitIndex . |
@Nonnull Commit enrich(@Nonnull PullRequest pullRequest, @Nonnull Commit commit, @Nullable Collection<String> propertyKeys)
CommitIndex
.pullRequest
- the pull request the commit
was retrieved fromcommit
- the commit to enrichpropertyKeys
- keys for CommitIndex
properties to load@Nonnull Page<Commit> enrichPage(@Nonnull PullRequest pullRequest, @Nonnull Page<Commit> page, @Nullable Collection<String> propertyKeys)
CommitIndex
.pullRequest
- the pull request the commits
were retrieved frompage
- the page of commits to enrichpropertyKeys
- keys for CommitIndex
properties to loadCopyright © 2022 Atlassian. All rights reserved.