Interface ExternalStoragesDiskUsageInfoProvider
-
- All Known Subinterfaces:
ExternalStoragesDiskUsageInfoRegistry
- All Known Implementing Classes:
ExternalStoragesDiskUsageInfoProviderImpl
public interface ExternalStoragesDiskUsageInfoProvider
Provider of a list of all registered in the system external storages- Since:
- 2020.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ArtifactStorageDiskUsageInfo>
getDiskUsageInfo(ExternalStorageId storageId)
List<ArtifactStorageDiskUsageInfo>
getExternalStoragesInfo()
Collection<ExternalStorageId>
getStorageIds()
-
-
-
Method Detail
-
getExternalStoragesInfo
@NotNull List<ArtifactStorageDiskUsageInfo> getExternalStoragesInfo()
- Returns:
- list of all registered in the system external storages
-
getStorageIds
@NotNull Collection<ExternalStorageId> getStorageIds()
- Returns:
- list of registered external storages ids
-
getDiskUsageInfo
@NotNull Optional<ArtifactStorageDiskUsageInfo> getDiskUsageInfo(@NotNull ExternalStorageId storageId)
- Parameters:
storageId
-- Returns:
- disk usage info by storage id
-
-