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 StringTOTAL_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 ValueProvidergetValueProvider(String key)Should return aValueProviderfor the key in case this key is supported by this provider.voidinit()
-
-
-
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:ValueProviderResolverShould return aValueProviderfor the key in case this key is supported by this provider. Null if this key is not supported.- Specified by:
getValueProviderin interfaceValueProviderResolver
-
-