|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.wsclient.services.AbstractQuery<M> org.sonar.wsclient.services.Query<Violation> org.sonar.wsclient.services.ViolationQuery
@Deprecated public class ViolationQuery
Field Summary | |
---|---|
static String |
BASE_URL
Deprecated. |
Fields inherited from class org.sonar.wsclient.services.AbstractQuery |
---|
DEFAULT_TIMEOUT_MILLISECONDS |
Constructor Summary | |
---|---|
ViolationQuery(String resourceKey)
Deprecated. |
Method Summary | |
---|---|
static ViolationQuery |
createForResource(Resource resource)
Deprecated. |
static ViolationQuery |
createForResource(String resourceIdOrKey)
Deprecated. |
int |
getDepth()
Deprecated. |
Integer |
getLimit()
Deprecated. |
Class<Violation> |
getModelClass()
Deprecated. |
String[] |
getPriorities()
Deprecated. since 2.5 use getSeverities() instead. See http://jira.codehaus.org/browse/SONAR-1829 |
String[] |
getQualifiers()
Deprecated. |
String[] |
getRuleKeys()
Deprecated. |
String[] |
getSeverities()
Deprecated. |
String |
getUrl()
Deprecated. Must start with a slash, for example: /api/metrics |
ViolationQuery |
setDepth(int depth)
Deprecated. |
ViolationQuery |
setLimit(Integer limit)
Deprecated. |
ViolationQuery |
setPriorities(String... priorities)
Deprecated. since 2.5 use setSeverities(String...) instead. See http://jira.codehaus.org/browse/SONAR-1829 |
ViolationQuery |
setQualifiers(String... qualifiers)
Deprecated. |
ViolationQuery |
setRuleKeys(String... ruleKeys)
Deprecated. |
ViolationQuery |
setSeverities(String... severities)
Deprecated. |
Methods inherited from class org.sonar.wsclient.services.AbstractQuery |
---|
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BASE_URL
Constructor Detail |
---|
public ViolationQuery(String resourceKey)
Method Detail |
---|
public String[] getQualifiers()
public ViolationQuery setQualifiers(String... qualifiers)
public String[] getRuleKeys()
public ViolationQuery setRuleKeys(String... ruleKeys)
public String[] getSeverities()
public ViolationQuery setSeverities(String... severities)
@Deprecated public String[] getPriorities()
getSeverities()
instead. See http://jira.codehaus.org/browse/SONAR-1829
@Deprecated public ViolationQuery setPriorities(String... priorities)
setSeverities(String...)
instead. See http://jira.codehaus.org/browse/SONAR-1829
public int getDepth()
public ViolationQuery setDepth(int depth)
public Integer getLimit()
public ViolationQuery setLimit(Integer limit)
public String getUrl()
AbstractQuery
IMPORTANT: In implementations of this method we must use helper methods to construct URL.
getUrl
in class AbstractQuery<Violation>
AbstractQuery.encode(String)
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Object)
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Object[])
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Date, boolean)
public Class<Violation> getModelClass()
getModelClass
in class Query<Violation>
public static ViolationQuery createForResource(Resource resource)
public static ViolationQuery createForResource(String resourceIdOrKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |