Interface DeploymentVersionVcsCommitDao
- All Known Implementing Classes:
DeploymentVersionVcsCommitDaoImpl
public interface DeploymentVersionVcsCommitDao
Dao for
DeploymentVersionVcsCommit-
Method Summary
Modifier and TypeMethodDescriptionintgetCommitsCountForVersion(long deploymentVersionId) getCommitsForVersion(long deploymentVersionId, int maxCommits) AggregatesDeploymentVersionVcsCommitfrom allDeploymentVersionVcsChangesetassociated with aDeploymentVersionlongscrollCommitsForExport(@NotNull Consumer<MutableDeploymentVersionVcsCommit> consumer) Scroll through and execute function for each of MutableDeploymentVersionVcsCommitImpl Objects passed to function are not fully initialized.
-
Method Details
-
getCommitsForVersion
List<MutableDeploymentVersionVcsCommitImpl> getCommitsForVersion(long deploymentVersionId, int maxCommits) AggregatesDeploymentVersionVcsCommitfrom allDeploymentVersionVcsChangesetassociated with aDeploymentVersion- Parameters:
deploymentVersionId-maxCommits- maximum number of commits- Returns:
- commits associated with a
DeploymentVersion
-
getCommitsCountForVersion
int getCommitsCountForVersion(long deploymentVersionId) - Parameters:
deploymentVersionId-- Returns:
- number of all commit records associated with a
DeploymentVersion
-
scrollCommitsForExport
Scroll through and execute function for each of MutableDeploymentVersionVcsCommitImpl Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.- Parameters:
consumer- consumer to accept each of the MutableDeploymentVersionVcsCommitImpl- Returns:
- number of traversed rows
-