public interface

CommitEnricher

com.atlassian.bitbucket.commit.CommitEnricher

Summary

Public Methods
@Nonnull Commit enrich(Repository repository, Commit commit, Collection<String> propertyKeys)
@Nonnull Page<Commit> enrichPage(Repository repository, Page<Commit> page, Collection<String> propertyKeys)

Public Methods

@Nonnull public Commit enrich (Repository repository, Commit commit, Collection<String> propertyKeys)

Parameters
repository the repository the commit was retrieved from
commit the commit to enrich
propertyKeys keys for CommitIndex properties to load
Returns
  • the enriched commit

@Nonnull public Page<Commit> enrichPage (Repository repository, Page<Commit> page, Collection<String> propertyKeys)

Parameters
repository the repository the commits were retrieved from
page the page of commits to enrich
propertyKeys keys for CommitIndex properties to load
Returns
  • a page of enriched commits