Package com.atlassian.bitbucket.commit
Interface CommitEnricher
public interface CommitEnricher
-
Method Summary
Modifier and TypeMethodDescriptionenrich(Repository repository, Commit commit, Collection<String> propertyKeys) enrichPage(Repository repository, Page<Commit> page, Collection<String> propertyKeys)
-
Method Details
-
enrich
@Nonnull Commit enrich(@Nonnull Repository repository, @Nonnull Commit commit, @Nullable Collection<String> propertyKeys) - Parameters:
repository- the repository thecommitwas retrieved fromcommit- the commit to enrichpropertyKeys- keys forCommitIndexproperties to load- Returns:
- the enriched commit
-
enrichPage
@Nonnull Page<Commit> enrichPage(@Nonnull Repository repository, @Nonnull Page<Commit> page, @Nullable Collection<String> propertyKeys) - Parameters:
repository- the repository thecommitswere retrieved frompage- the page of commits to enrichpropertyKeys- keys forCommitIndexproperties to load- Returns:
- a page of enriched commits
-