org.sonar.api.measures
Interface MetricFinder

All Superinterfaces:
ServerComponent, TaskComponent

public interface MetricFinder
extends TaskComponent, ServerComponent

Since:
2.5

Method Summary
 Collection<Metric> findAll()
           
 Collection<Metric> findAll(List<String> metricKeys)
           
 Metric findById(int id)
           
 Metric findByKey(String key)
           
 

Method Detail

findById

@CheckForNull
Metric findById(int id)

findByKey

@CheckForNull
Metric findByKey(String key)

findAll

Collection<Metric> findAll(List<String> metricKeys)

findAll

Collection<Metric> findAll()


Copyright © 2009–2016 SonarSource. All rights reserved.