Interface ValueProvider
-
- All Known Subinterfaces:
BuildValueProvider,ValueType
- All Known Implementing Classes:
BuildAllTestsDurationValueType,BuildDurationValueType,BuildFinishAwareValueTypeBase,BuildValueTypeBase,CompositeVTB,DeclarativeCompositeValueType,MultipleKeysBuildMetricVT,ReusedBuildTimeValueType,RunningDetachedTimeValueType,SimpleBuildMetricVT,StorageValueProvider,SuccessRateValueType,TestCountValueType,TestDurationValueType,TestMetadataValueType,TimeToFixValueType
public interface ValueProviderRepresents a source of statistics data- Author:
- kir
- See Also:
ValueProviderRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<BuildValue>getDataSet(ChartSettings chartSettings)This should return dataset based given chartSettingsStringgetKey()Metric id i.e.booleanhasData(ChartSettings chartSettings)Returns true if at least one not-null value is available for this ValueProvider for given settings
-
-
-
Method Detail
-
getKey
String getKey()
Metric id i.e. "BuildDuration", this key should be unique- Returns:
- Unique key name
-
getDataSet
@NotNull List<BuildValue> getDataSet(@NotNull ChartSettings chartSettings)
This should return dataset based given chartSettings- Parameters:
chartSettings- to be applied to dataset- Returns:
- filtered dataset
-
hasData
boolean hasData(ChartSettings chartSettings)
Returns true if at least one not-null value is available for this ValueProvider for given settings- Parameters:
chartSettings- dataset chartSettings- Returns:
- true if there are some data available for this ValueProvider with given settings
-
-