org.sonar.batch
Class DefaultTimeMachine

java.lang.Object
  extended by org.sonar.batch.DefaultTimeMachine
All Implemented Interfaces:
TimeMachine, BatchComponent

public class DefaultTimeMachine
extends Object
implements TimeMachine


Constructor Summary
DefaultTimeMachine(DatabaseSession session, DefaultIndex index, MetricFinder metricFinder, TechnicalDebtModel techDebtModel)
           
 
Method Summary
protected  List<Object[]> execute(TimeMachineQuery query, boolean selectAllFields, Set<Integer> metricIds)
           
 List<Measure> getMeasures(TimeMachineQuery query)
           
 List<Object[]> getMeasuresFields(TimeMachineQuery query)
           
 Map<Integer,Metric> getMetricsById(TimeMachineQuery query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTimeMachine

public DefaultTimeMachine(DatabaseSession session,
                          DefaultIndex index,
                          MetricFinder metricFinder,
                          TechnicalDebtModel techDebtModel)
Method Detail

getMeasures

public List<Measure> getMeasures(TimeMachineQuery query)
Specified by:
getMeasures in interface TimeMachine

getMeasuresFields

public List<Object[]> getMeasuresFields(TimeMachineQuery query)
Specified by:
getMeasuresFields in interface TimeMachine

execute

protected List<Object[]> execute(TimeMachineQuery query,
                                 boolean selectAllFields,
                                 Set<Integer> metricIds)

getMetricsById

public Map<Integer,Metric> getMetricsById(TimeMachineQuery query)


Copyright © 2009–2015 SonarSource. All rights reserved.