Class CacheDownloadMetricsValueProviderResolver
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.impl.CacheDownloadMetricsValueProviderResolver
-
- All Implemented Interfaces:
ValueProviderResolver
public class CacheDownloadMetricsValueProviderResolver extends Object implements ValueProviderResolver
ValueType handler to provide default format (size) and description for all cacheResolving metrics
-
-
Field Summary
Fields Modifier and Type Field Description static String
TOTAL_METRIC_PREFIX
-
Constructor Summary
Constructors Constructor Description CacheDownloadMetricsValueProviderResolver(SBuildServer server, BuildDataStorage storage, ValueProviderRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueProvider
getValueProvider(String key)
Should return aValueProvider
for the key in case this key is supported by this provider.void
init()
-
-
-
Field Detail
-
TOTAL_METRIC_PREFIX
@NotNull public static final String TOTAL_METRIC_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CacheDownloadMetricsValueProviderResolver
public CacheDownloadMetricsValueProviderResolver(@NotNull SBuildServer server, @NotNull BuildDataStorage storage, @NotNull ValueProviderRegistry registry)
-
-
Method Detail
-
init
public void init()
-
getValueProvider
@Nullable public ValueProvider getValueProvider(@NotNull String key)
Description copied from interface:ValueProviderResolver
Should return aValueProvider
for the key in case this key is supported by this provider. Null if this key is not supported.- Specified by:
getValueProvider
in interfaceValueProviderResolver
-
-