Interface ArtifactsStorageUsagesProvider
-
- All Known Implementing Classes:
ArtifactsStorageUsagesProviderImpl
public interface ArtifactsStorageUsagesProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Long>
getRecentUsages(String storageSettingsId, int maxBuilds)
Returns ids of most recent builds using the specified artifacts storage.int
getUsagesCount(String storageSettingsId, int maxBuilds)
Returns number of builds using the specified artifacts storage.
-
-
-
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 idmaxBuilds
- 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 idmaxBuilds
- max number of builds to return- Returns:
-
-