org.sonar.wsclient.services
Class PropertyUpdateQuery
java.lang.Object
org.sonar.wsclient.services.AbstractQuery<M>
org.sonar.wsclient.services.UpdateQuery<Property>
org.sonar.wsclient.services.PropertyUpdateQuery
public class PropertyUpdateQuery
- extends UpdateQuery<Property>
- Since:
- 2.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUpdateQuery
public PropertyUpdateQuery()
PropertyUpdateQuery
public PropertyUpdateQuery(String key,
String value)
PropertyUpdateQuery
public PropertyUpdateQuery(String key,
String value,
String resourceKeyOrId)
PropertyUpdateQuery
public PropertyUpdateQuery(Property property)
getKey
public String getKey()
setKey
public PropertyUpdateQuery setKey(String key)
getValue
public String getValue()
setValue
public PropertyUpdateQuery setValue(String value)
getResourceKeyOrId
public String getResourceKeyOrId()
setResourceKeyOrId
public PropertyUpdateQuery setResourceKeyOrId(String resourceKeyOrId)
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<Property>
- See Also:
AbstractQuery.encode(String)
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Object)
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Object[])
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Date, boolean)
getBody
public String getBody()
- Property value is transmitted through request body as content may
exceed URL size allowed by the server.
- Overrides:
getBody
in class AbstractQuery<Property>
getModelClass
public Class<Property> getModelClass()
- Specified by:
getModelClass
in class UpdateQuery<Property>
Copyright © 2009-2013 SonarSource. All Rights Reserved.