org.sonar.api.measures
Class SumChildDistributionFormula

java.lang.Object
  extended by org.sonar.api.measures.SumChildDistributionFormula
All Implemented Interfaces:
Formula

public class SumChildDistributionFormula
extends Object
implements Formula

Since:
2.0 Used to consolidate a distribution measure throughout the resource tree

Constructor Summary
SumChildDistributionFormula()
           
 
Method Summary
 Measure calculate(FormulaData data, FormulaContext context)
           
 List<Metric> dependsUponMetrics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SumChildDistributionFormula

public SumChildDistributionFormula()
Method Detail

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-2010 SonarSource SA. All Rights Reserved.