Class DiskUsageResult
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.diskusage.DiskUsageResult
-
- All Implemented Interfaces:
StatisticResult<DiskUsageResult>
public class DiskUsageResult extends Object implements StatisticResult<DiskUsageResult>
-
-
Field Summary
Fields Modifier and Type Field Description static StringALL_STORAGES
-
Constructor Summary
Constructors Constructor Description DiskUsageResult()DiskUsageResult(CompositeDiskUsageData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate(DiskUsageResult resultItem)booleanequals(Object o)longgetArtifacts()longgetArtifacts(String storageId)StringgetArtifactsFormatted()StringgetArtifactsFormatted(String storageId)longgetCleanedSize()longgetInternalArtifacts()longgetInternalArtifacts(String storageId)longgetLogs()longgetLogs(String storageId)StringgetLogsFormatted()StringgetLogsFormatted(String storageId)longgetNonBuildsSize()longgetNonBuildsSize(String storageId)long[][]getTopBuildsSize()longgetTotal()longgetTotal(String storageId)StringgetTotalFormatted()StringgetTotalFormatted(String storageId)booleanhasBuilds()booleanhasBuilds(String storageId)inthashCode()booleanisApproximateData()booleanisApproximateData(String storageId)booleanisContainsData()booleanisContainsData(String storageId)booleanisUpdating()
-
-
-
Field Detail
-
ALL_STORAGES
public static final String ALL_STORAGES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DiskUsageResult
public DiskUsageResult()
-
DiskUsageResult
public DiskUsageResult(@Nullable CompositeDiskUsageData data)
-
-
Method Detail
-
getArtifacts
public long getArtifacts()
-
getArtifacts
public long getArtifacts(@NotNull String storageId)
-
getInternalArtifacts
public long getInternalArtifacts()
-
getInternalArtifacts
public long getInternalArtifacts(@NotNull String storageId)
-
getLogs
public long getLogs()
-
getLogs
public long getLogs(@NotNull String storageId)
-
isContainsData
public boolean isContainsData()
-
isContainsData
public boolean isContainsData(@NotNull String storageId)
-
isApproximateData
public boolean isApproximateData()
-
isApproximateData
public boolean isApproximateData(@NotNull String storageId)
-
getTotal
public long getTotal()
-
getTotal
public long getTotal(@NotNull String storageId)
-
getArtifactsFormatted
@NotNull public String getArtifactsFormatted()
-
getNonBuildsSize
public long getNonBuildsSize()
-
getNonBuildsSize
public long getNonBuildsSize(@NotNull String storageId)
-
getLogsFormatted
@NotNull public String getLogsFormatted()
-
getTotalFormatted
@NotNull public String getTotalFormatted()
-
getTopBuildsSize
public long[][] getTopBuildsSize()
-
aggregate
public void aggregate(@NotNull DiskUsageResult resultItem)- Specified by:
aggregatein interfaceStatisticResult<DiskUsageResult>
-
isUpdating
public boolean isUpdating()
-
hasBuilds
public boolean hasBuilds()
-
hasBuilds
public boolean hasBuilds(@NotNull String storageId)
-
getCleanedSize
public long getCleanedSize()
-
-