org.sonar.wsclient.services
Class UserPropertyQuery

java.lang.Object
  extended by org.sonar.wsclient.services.AbstractQuery<MODEL>
      extended by org.sonar.wsclient.services.Query<Property>
          extended by org.sonar.wsclient.services.UserPropertyQuery

public class UserPropertyQuery
extends Query<Property>

Get properties of the authenticated user.

Since:
2.2

Field Summary
static String BASE_URL
           
 
Constructor Summary
UserPropertyQuery()
          Get all user properties
UserPropertyQuery(String key)
          Get only one specific user property
 
Method Summary
 String getKey()
           
 Class<Property> getModelClass()
           
 String getUrl()
          Must start with a slash, for example: /api/metrics
 UserPropertyQuery setKey(String key)
           
 
Methods inherited from class org.sonar.wsclient.services.AbstractQuery
appendUrlParameter, appendUrlParameter, appendUrlParameter, getBody
 
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 String BASE_URL
See Also:
Constant Field Values
Constructor Detail

UserPropertyQuery

public UserPropertyQuery()
Get all user properties


UserPropertyQuery

public UserPropertyQuery(String key)
Get only one specific user property

Method Detail

getKey

public String getKey()

setKey

public UserPropertyQuery setKey(String key)

getUrl

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

Specified by:
getUrl in class AbstractQuery<Property>

getModelClass

public Class<Property> getModelClass()
Specified by:
getModelClass in class Query<Property>


Copyright © 2009-2011 SonarSource. All Rights Reserved.