@Internal public interface CommitDao extends BambooObjectDao<Commit>
Modifier and Type | Method and Description |
---|---|
List<Commit> |
getCommitsForResult(ResultsSummary resultsSummary) |
List<UnassociatedCommit> |
getCommitsForUser(String username,
int max)
Find recent commits for a given user.
|
long |
scrollCommitsForExport(Consumer<Commit> consumer)
Scroll through and execute function for each of Commit
Objects passed to function are not fully initialized.
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
long scrollCommitsForExport(@NotNull Consumer<Commit> consumer)
consumer
- consumer to accept on each of the Commit@NotNull List<Commit> getCommitsForResult(@NotNull ResultsSummary resultsSummary)
resultsSummary
- ResultsSummary
which associated commits have to be returnedResultsSummary
@NotNull List<UnassociatedCommit> getCommitsForUser(@NotNull String username, int max)
username
- to find commits for (based on author -> username association)max
- maximum number of entries to retrieveCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.