Interface ArtifactStorageDiskUsageInfoProvider
-
- All Known Implementing Classes:
ArtifactStorageDiskUsageInfoProviderImpl
public interface ArtifactStorageDiskUsageInfoProviderProvider for a list of all registered in the system storages- Since:
- 2020.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ArtifactStorageDiskUsageInfo>getAllDiskUsageInfo()List<ArtifactStorageDiskUsageInfo>getBuiltInStorageDiskUsageInfo()Provides built in storages, registered in the system.ArtifactStorageDiskUsageInfogetDefaultStorageInfo()List<ArtifactStorageDiskUsageInfo>getExternalStoragesDiskUsageInfo()
-
-
-
Method Detail
-
getAllDiskUsageInfo
@NotNull List<ArtifactStorageDiskUsageInfo> getAllDiskUsageInfo()
- Returns:
- a list of all registered in the system storages, including external and built-in ones
-
getDefaultStorageInfo
@Nullable ArtifactStorageDiskUsageInfo getDefaultStorageInfo()
- Returns:
- default storage info if it exists
-
getExternalStoragesDiskUsageInfo
@NotNull List<ArtifactStorageDiskUsageInfo> getExternalStoragesDiskUsageInfo()
-
getBuiltInStorageDiskUsageInfo
@NotNull List<ArtifactStorageDiskUsageInfo> getBuiltInStorageDiskUsageInfo()
Provides built in storages, registered in the system. The first item represents current default storage
-
-