@Internal public interface CommitDao extends BambooObjectDao<Commit>
Modifier and Type | Method and Description |
---|---|
@NotNull List<Commit> |
getCommitsForResult(@NotNull ResultsSummary resultsSummary) |
@NotNull List<UnassociatedCommit> |
getCommitsForUser(@NotNull String username,
int max)
Find recent commits for a given user.
|
long |
scrollCommitsForExport(@NotNull 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 @NotNull Consumer<Commit> consumer)
consumer
- consumer to accept on each of the Commit@NotNull @NotNull List<Commit> getCommitsForResult(@NotNull @NotNull ResultsSummary resultsSummary)
resultsSummary
- ResultsSummary
which associated commits have to be returnedResultsSummary
@NotNull @NotNull List<UnassociatedCommit> getCommitsForUser(@NotNull @NotNull String username, int max)
username
- to find commits for (based on author -> username association)max
- maximum number of entries to retrieveCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.