org.sonar.wsclient.services
Class ServerSetupQuery

java.lang.Object
  extended by org.sonar.wsclient.services.AbstractQuery<MODEL>
      extended by org.sonar.wsclient.services.CreateQuery<ServerSetup>
          extended by org.sonar.wsclient.services.ServerSetupQuery

public class ServerSetupQuery
extends CreateQuery<ServerSetup>

Since:
2.9

Field Summary
static String BASE_URL
           
 
Constructor Summary
ServerSetupQuery()
           
 
Method Summary
 Class<ServerSetup> getModelClass()
           
 String getUrl()
          Must start with a slash, for example: /api/metrics
 
Methods inherited from class org.sonar.wsclient.services.AbstractQuery
appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, 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

ServerSetupQuery

public ServerSetupQuery()
Method Detail

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<ServerSetup>
See Also:
AbstractQuery.encode(String), AbstractQuery.appendUrlParameter(StringBuilder, String, Object), AbstractQuery.appendUrlParameter(StringBuilder, String, Object[]), AbstractQuery.appendUrlParameter(StringBuilder, String, Date, boolean)

getModelClass

public Class<ServerSetup> getModelClass()
Specified by:
getModelClass in class CreateQuery<ServerSetup>


Copyright © 2009-2011 SonarSource. All Rights Reserved.