org.sonar.wsclient.services
Class MetricQuery

java.lang.Object
  extended by org.sonar.wsclient.services.Query<Metric>
      extended by org.sonar.wsclient.services.MetricQuery

public final class MetricQuery
extends Query<Metric>


Field Summary
static java.lang.String BASE_URL
           
 
Method Summary
static MetricQuery all()
           
static MetricQuery byKey(java.lang.String metricKey)
           
 java.lang.Class<Metric> getModelClass()
           
 java.lang.String getUrl()
          Must start with a slash, for example: /api/metrics
 
Methods inherited from class org.sonar.wsclient.services.Query
appendUrlParameter, appendUrlParameter, appendUrlParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_URL

public static final java.lang.String BASE_URL
See Also:
Constant Field Values
Method Detail

getUrl

public java.lang.String getUrl()
Description copied from class: Query
Must start with a slash, for example: /api/metrics

Specified by:
getUrl in class Query<Metric>

getModelClass

public java.lang.Class<Metric> getModelClass()
Specified by:
getModelClass in class Query<Metric>

all

public static MetricQuery all()

byKey

public static MetricQuery byKey(java.lang.String metricKey)


Copyright © 2009-2010 SonarSource SA. All Rights Reserved.