public class ReviewQuery extends Query<Review>
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_URL |
static String |
OUTPUT_HTML |
static String |
OUTPUT_PLAIN |
DEFAULT_TIMEOUT_MILLISECONDS| Constructor and Description |
|---|
ReviewQuery() |
appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMillisecondspublic static final String BASE_URL
public static final String OUTPUT_PLAIN
public static final String OUTPUT_HTML
public ReviewQuery()
@Deprecated public String getReviewType()
@Deprecated public ReviewQuery setReviewType(String reviewType)
reviewType - the reviewType to setpublic ReviewQuery setId(Long id)
id - the id to setpublic ReviewQuery setIds(Long... ids)
ids - the ids to setpublic String[] getStatuses()
public ReviewQuery setStatuses(String... statuses)
statuses - the statuses to setpublic String[] getSeverities()
public ReviewQuery setSeverities(String... severities)
severities - the severities to setpublic String[] getProjectKeysOrIds()
public ReviewQuery setProjectKeysOrIds(String... projectKeysOrIds)
projectKeysOrIds - the projectKeysOrIds to setpublic String[] getResourceKeysOrIds()
public ReviewQuery setResourceKeysOrIds(String... resourceKeysOrIds)
resourceKeysOrIds - the resourceKeysOrIds to set@Deprecated public String[] getAuthorLoginsOrIds()
getAuthorLogins() instead.@Deprecated public ReviewQuery setAuthorLoginsOrIds(String... authorLoginsOrIds)
setAuthorLogins(String...) instead.public String[] getAuthorLogins()
public ReviewQuery setAuthorLogins(String... authorLogins)
authorLogins - the authorLogins to set@Deprecated public String[] getAssigneeLoginsOrIds()
getAssigneeLogins() instead.@Deprecated public ReviewQuery setAssigneeLoginsOrIds(String... assigneeLoginsOrIds)
setAssigneeLogins(String...) instead.public String[] getAssigneeLogins()
public ReviewQuery setAssigneeLogins(String... assigneeLogins)
assigneeLogins - the assigneeLogins to setpublic ReviewQuery setOutput(String output)
output - the outputpublic String[] getResolutions()
public ReviewQuery setResolutions(String... resolutions)
public String getUrl()
AbstractQueryIMPORTANT: In implementations of this method we must use helper methods to construct URL.
public Class<Review> getModelClass()
getModelClass in class Query<Review>public static ReviewQuery createForReview(Long id)
public static ReviewQuery createForResource(Resource resource)
Copyright © 2009-2012 SonarSource. All Rights Reserved.