Interface ArtifactsStorageUsagesProvider

    • Method Detail

      • getUsagesCount

        int getUsagesCount​(@NotNull
                           String storageSettingsId,
                           int maxBuilds)
        Returns number of builds using the specified artifacts storage. The maximum number of returned builds can be limited by maxBuilds argument to increase performance
        Parameters:
        storageSettingsId - artifacts storage settings id
        maxBuilds - max number of builds to return
        Returns:
      • getRecentUsages

        @NotNull
        List<Long> getRecentUsages​(@NotNull
                                   String storageSettingsId,
                                   int maxBuilds)
        Returns ids of most recent builds using the specified artifacts storage. The maximum number of returned builds is controlled by maxBuilds argument.
        Parameters:
        storageSettingsId - artifacts storage settings id
        maxBuilds - max number of builds to return
        Returns: