Modifier and Type | Field and Description |
---|---|
static String |
BASE_URL |
DEFAULT_TIMEOUT_MILLISECONDS
Modifier and Type | Method and Description |
---|---|
String |
getLanguage() |
Class<Rule> |
getModelClass() |
String |
getProfile() |
String[] |
getRepositories() |
String |
getSearchText() |
String[] |
getSeverities() |
Boolean |
getStatus() |
String |
getUrl()
Must start with a slash, for example: /api/metrics
|
RuleQuery |
setActive(Boolean active) |
RuleQuery |
setLanguage(String language) |
RuleQuery |
setProfile(String profile) |
RuleQuery |
setRepositories(String... s) |
RuleQuery |
setSearchText(String searchText) |
RuleQuery |
setSeverities(String... severities) |
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds
public static final String BASE_URL
public RuleQuery setLanguage(String language)
public String getLanguage()
public RuleQuery setRepositories(String... s)
public String[] getRepositories()
public RuleQuery setSearchText(String searchText)
public String getSearchText()
public RuleQuery setProfile(String profile)
public String getProfile()
public RuleQuery setSeverities(String... severities)
public String[] getSeverities()
public String getUrl()
AbstractQuery
IMPORTANT: In implementations of this method we must use helper methods to construct URL.
public Class<Rule> getModelClass()
getModelClass
in class Query<Rule>
Copyright © 2009-2014 SonarSource. All Rights Reserved.