Interface DeploymentVersionDeletionService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(long deploymentVersionId)
      Delete single Deployment Version and related records.
      int deleteForDeploymentProject​(long deploymentProjectId)
      Delete Deployment Versions and related records for a Deployment Project.
      boolean removeArtifacts​(long deploymentVersionId)
      Remove artifacts of Deployment Version and mark this version as unreleasable
    • Method Detail

      • delete

        void delete​(long deploymentVersionId)
        Delete single Deployment Version and related records.
      • removeArtifacts

        boolean removeArtifacts​(long deploymentVersionId)
        Remove artifacts of Deployment Version and mark this version as unreleasable
        Parameters:
        deploymentVersionId - id of Deployment Version which artifacts should be deleted
        Returns:
        true if something was removed
      • deleteForDeploymentProject

        int deleteForDeploymentProject​(long deploymentProjectId)
        Delete Deployment Versions and related records for a Deployment Project.
        Parameters:
        deploymentProjectId - id of Deployment Project which versions have to be removed
        Returns:
        number of deleted DeploymentVersion records