org.sonar.api.measures
Class SumChildValuesFormula

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

public class SumChildValuesFormula
extends Object
implements Formula

Since:
1.11

Constructor Summary
SumChildValuesFormula(boolean saveZeroIfNoChildValues)
           
 
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

SumChildValuesFormula

public SumChildValuesFormula(boolean saveZeroIfNoChildValues)
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 SonarSource SA. All Rights Reserved.