org.sonar.core.consolidation
Class AbstractService

java.lang.Object
  extended by org.sonar.core.consolidation.AbstractService
All Implemented Interfaces:
Service
Direct Known Subclasses:
AbstractRciService, AbstractSumService, AbstractWeightedService, CodeCoverageCalculator, CommentRatioService, ComplexityPercentDistributionService, ConsolidateRuleFailures, CountDirectories, CountFiles, CountRuleFailures, MissingCodeCoverage, PackageComplexityCountDistributionService, SumComplexityCountDistributionService, TendencyService, UnitTestsIndicators, WeightedDuplicatedLines

public abstract class AbstractService
extends java.lang.Object
implements Service


Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
protected AbstractService(DaoFacade dao)
           
 
Method Summary
protected  DaoFacade getDao()
           
protected  MeasureKey getMeasureKey(Metric name)
           
protected  Metric getMetric(Metric name)
           
protected  java.util.Collection<Metric> getMetrics()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.core.consolidation.Service
execute, shouldExecuteOn
 

Field Detail

log

protected final org.slf4j.Logger log
Constructor Detail

AbstractService

protected AbstractService(DaoFacade dao)
Method Detail

init

public void init()
Specified by:
init in interface Service

getMetric

protected Metric getMetric(Metric name)

getMetrics

protected java.util.Collection<Metric> getMetrics()

getMeasureKey

protected MeasureKey getMeasureKey(Metric name)

getDao

protected DaoFacade getDao()


Copyright © 2007-2008 hortis. All Rights Reserved.