public class MetricUpdateQuery extends UpdateQuery<Metric>
DEFAULT_TIMEOUT_MILLISECONDS| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Property
description transmitted through request body as content may exceed URL size allowed by the server. |
Class<Metric> |
getModelClass() |
String |
getUrl()
Must start with a slash, for example: /api/metrics
|
MetricUpdateQuery |
setDescription(String description) |
MetricUpdateQuery |
setDomain(String domain) |
MetricUpdateQuery |
setName(String name) |
MetricUpdateQuery |
setType(String type) |
static MetricUpdateQuery |
update(String key) |
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMillisecondspublic static MetricUpdateQuery update(String key)
public MetricUpdateQuery setName(String name)
public MetricUpdateQuery setDescription(String description)
public MetricUpdateQuery setDomain(String domain)
public MetricUpdateQuery setType(String type)
public String getUrl()
AbstractQueryIMPORTANT: In implementations of this method we must use helper methods to construct URL.
public String getBody()
description transmitted through request body as content may exceed URL size allowed by the server.getBody in class AbstractQuery<Metric>public Class<Metric> getModelClass()
getModelClass in class UpdateQuery<Metric>Copyright © 2009–2015 SonarSource. All rights reserved.