ch.hortis.sonar.service
Class MeasuresDao

java.lang.Object
  extended by ch.hortis.sonar.service.MeasuresDao

public class MeasuresDao
extends java.lang.Object


Constructor Summary
MeasuresDao(DatabaseManager databaseManager)
           
 
Method Summary
 java.util.List<Snapshot> getChildSnapshots(Snapshot snapshot, boolean includeSubmodules)
           
 java.util.List<ProjectMeasure> getMeasures(java.lang.Integer snapshotId)
           
 Metric getMetric(Metric metric)
           
 Metric getMetric(java.lang.String metricName)
           
 java.util.Collection<Metric> getMetrics()
           
 Snapshot getSnapshot(int snapshotId)
           
 java.lang.String getSnapshotProjectName(int snapshotId)
           
 void persistMetric(Metric metric)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasuresDao

public MeasuresDao(DatabaseManager databaseManager)
Method Detail

getMetric

public Metric getMetric(Metric metric)

getMetric

public Metric getMetric(java.lang.String metricName)

getMetrics

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

persistMetric

public void persistMetric(Metric metric)

getMeasures

public java.util.List<ProjectMeasure> getMeasures(java.lang.Integer snapshotId)

getSnapshot

public Snapshot getSnapshot(int snapshotId)

getSnapshotProjectName

public java.lang.String getSnapshotProjectName(int snapshotId)

getChildSnapshots

public java.util.List<Snapshot> getChildSnapshots(Snapshot snapshot,
                                                  boolean includeSubmodules)


Copyright © 2007-2008 hortis. All Rights Reserved.