Interface DeploymentVersionVcsCommitDao
-
- All Known Implementing Classes:
DeploymentVersionVcsCommitDaoImpl
public interface DeploymentVersionVcsCommitDao
Dao forDeploymentVersionVcsCommit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCommitsCountForVersion(long deploymentVersionId)
List<MutableDeploymentVersionVcsCommitImpl>
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 Detail
-
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
long scrollCommitsForExport(@NotNull @NotNull Consumer<MutableDeploymentVersionVcsCommit> consumer)
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
-
-