org.sonar.wsclient.services
Class ManualMeasureDeleteQuery

java.lang.Object
  extended by org.sonar.wsclient.services.AbstractQuery
      extended by org.sonar.wsclient.services.DeleteQuery
          extended by org.sonar.wsclient.services.ManualMeasureDeleteQuery

public final class ManualMeasureDeleteQuery
extends DeleteQuery

Since:
2.10

Field Summary
 
Fields inherited from class org.sonar.wsclient.services.AbstractQuery
DEFAULT_TIMEOUT_MILLISECONDS
 
Method Summary
static ManualMeasureDeleteQuery create(String resourceKey, String metricKey)
           
 String getMetricKey()
           
 String getResourceKey()
           
 String getUrl()
          Must start with a slash, for example: /api/metrics
 String toString()
           
 
Methods inherited from class org.sonar.wsclient.services.AbstractQuery
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static ManualMeasureDeleteQuery create(String resourceKey,
                                              String metricKey)

getResourceKey

public String getResourceKey()

getMetricKey

public String getMetricKey()

getUrl

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

IMPORTANT: In implementations of this method we must use helper methods to construct URL.

Specified by:
getUrl in class AbstractQuery
See Also:
AbstractQuery.encode(String), AbstractQuery.appendUrlParameter(StringBuilder, String, Object), AbstractQuery.appendUrlParameter(StringBuilder, String, Object[]), AbstractQuery.appendUrlParameter(StringBuilder, String, Date, boolean)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 SonarSource. All Rights Reserved.