org.sonar.wsclient.services
Class PropertyQuery
java.lang.Object
org.sonar.wsclient.services.AbstractQuery<M>
org.sonar.wsclient.services.Query<Property>
org.sonar.wsclient.services.PropertyQuery
public class PropertyQuery
- extends Query<Property>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_URL
public static final String BASE_URL
- See Also:
- Constant Field Values
PropertyQuery
public PropertyQuery()
getKey
public String getKey()
setKey
public PropertyQuery setKey(String key)
getResourceKeyOrId
public String getResourceKeyOrId()
setResourceKeyOrId
public PropertyQuery 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)
getModelClass
public Class<Property> getModelClass()
- Specified by:
getModelClass
in class Query<Property>
createForAll
public static PropertyQuery createForAll()
createForKey
public static PropertyQuery createForKey(String key)
createForResource
public static PropertyQuery createForResource(String key,
String resourceKeyOrId)
Copyright © 2009-2014 SonarSource. All Rights Reserved.