Interface DeploymentVersionVcsCommitDao
- All Known Implementing Classes:
DeploymentVersionVcsCommitDaoImpl
public interface DeploymentVersionVcsCommitDao
Dao for
DeploymentVersionVcsCommit
-
Method Summary
Modifier and TypeMethodDescriptionint
getCommitsCountForVersion
(long deploymentVersionId) getCommitsForVersion
(long deploymentVersionId, int maxCommits) AggregatesDeploymentVersionVcsCommit
from allDeploymentVersionVcsChangeset
associated with aDeploymentVersion
long
scrollCommitsForExport
(@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) AggregatesDeploymentVersionVcsCommit
from allDeploymentVersionVcsChangeset
associated 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
-