Interface DeploymentVersionVcsCommitDao

All Known Implementing Classes:
DeploymentVersionVcsCommitDaoImpl

public interface DeploymentVersionVcsCommitDao
  • Method Details

    • getCommitsForVersion

      List<MutableDeploymentVersionVcsCommitImpl> getCommitsForVersion(long deploymentVersionId, int maxCommits)
      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