com.atlassian.bamboo.commit
Interface CommitDao
- All Superinterfaces:
- BambooObjectDao<Commit>
- All Known Implementing Classes:
- CommitHibernateDao
public interface CommitDao
- extends BambooObjectDao<Commit>
scrollCommitsForExport
long scrollCommitsForExport(@NotNull
com.google.common.base.Function<Commit,java.lang.Void> function)
- Scroll through and execute function for each of Commit
Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.
- Parameters:
function
- function to be executed on each of the Commit
- Returns:
- number of traversed rows
getCommitsForResult
@NotNull
java.util.List<Commit> getCommitsForResult(@NotNull
ResultsSummary resultsSummary)
- Parameters:
resultsSummary
- ResultsSummary
which associated commits have to be returned
- Returns:
- commits for the given
ResultsSummary
getCommitsForUser
@NotNull
java.util.List<UnassociatedCommit> getCommitsForUser(@NotNull
java.lang.String username,
int max)
- Find recent commits for a given user.
- Parameters:
username
- to find commits for (based on author -> username association)max
- maximum number of entries to retrieve
- Returns:
- Representation of the commit.
Copyright © 2012 Atlassian. All Rights Reserved.