-
- All Implemented Interfaces:
-
org.jetbrains.kotlin.statistics.metrics.IStatisticsValuesConsumer
public final class MetricsContainer implements IStatisticsValuesConsumer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMetricsContainer.MetricDescriptorpublic classMetricsContainer.Companion
-
Constructor Summary
Constructors Constructor Description MetricsContainer(Boolean forceValuesValidation)
-
Method Summary
Modifier and Type Method Description Booleanreport(BooleanMetrics metric, Boolean value, String subprojectName, Long weight)Booleanreport(NumericalMetrics metric, Long value, String subprojectName, Long weight)Booleanreport(StringMetrics metric, String value, String subprojectName, Long weight)final Unitflush(IRecordLogger trackingFile)final IMetricContainer<Long>getMetric(NumericalMetrics metric)final IMetricContainer<String>getMetric(StringMetrics metric)final IMetricContainer<Boolean>getMetric(BooleanMetrics metric)-
-
Constructor Detail
-
MetricsContainer
MetricsContainer(Boolean forceValuesValidation)
-
-
Method Detail
-
flush
final Unit flush(IRecordLogger trackingFile)
-
getMetric
final IMetricContainer<Long> getMetric(NumericalMetrics metric)
-
getMetric
final IMetricContainer<String> getMetric(StringMetrics metric)
-
getMetric
final IMetricContainer<Boolean> getMetric(BooleanMetrics metric)
-
-
-
-