org.sonar.core.components
Class DefaultMetricFinder
java.lang.Object
org.sonar.core.components.DefaultMetricFinder
- All Implemented Interfaces:
- BatchComponent, MetricFinder, ServerComponent
- Direct Known Subclasses:
- CacheMetricFinder
public class DefaultMetricFinder
- extends Object
- implements MetricFinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMetricFinder
public DefaultMetricFinder(DatabaseSessionFactory sessionFactory)
findById
public Metric findById(int id)
- Specified by:
findById
in interface MetricFinder
findByKey
public Metric findByKey(String key)
- Specified by:
findByKey
in interface MetricFinder
findAll
public Collection<Metric> findAll(List<String> metricKeys)
- Specified by:
findAll
in interface MetricFinder
findAll
public Collection<Metric> findAll()
- Specified by:
findAll
in interface MetricFinder
doFindAll
protected Collection<Metric> doFindAll()
Copyright © 2009-2011 SonarSource. All Rights Reserved.