org.sonar.api.measures
Class WeightedMeanAggregationFormula
java.lang.Object
org.sonar.api.measures.WeightedMeanAggregationFormula
- All Implemented Interfaces:
- Formula
public class WeightedMeanAggregationFormula
- extends Object
- implements Formula
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightedMeanAggregationFormula
public WeightedMeanAggregationFormula(Metric weightingMetric,
boolean zeroIfNoValues)
dependsUponMetrics
public List<Metric> dependsUponMetrics()
- Specified by:
dependsUponMetrics
in interface Formula
calculate
public Measure calculate(FormulaData data,
FormulaContext context)
- Specified by:
calculate
in interface Formula
Copyright © 2009-2014 SonarSource. All Rights Reserved.