public class ReviewCreateQuery extends CreateQuery<Review>
DEFAULT_TIMEOUT_MILLISECONDS
Constructor and Description |
---|
ReviewCreateQuery() |
Modifier and Type | Method and Description |
---|---|
String |
getAssignee() |
String |
getBody()
Property
comment is transmitted through request body as content may exceed URL size allowed by the server. |
String |
getComment() |
Class<Review> |
getModelClass() |
String |
getResolution() |
String |
getStatus() |
String |
getUrl()
Must start with a slash, for example: /api/metrics
|
Long |
getViolationId() |
ReviewCreateQuery |
setAssignee(String userLogin) |
ReviewCreateQuery |
setComment(String comment) |
ReviewCreateQuery |
setResolution(String resolution) |
ReviewCreateQuery |
setStatus(String status) |
ReviewCreateQuery |
setViolationId(Long violationId) |
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds
public ReviewCreateQuery()
public Long getViolationId()
public ReviewCreateQuery setViolationId(Long violationId)
public String getComment()
public ReviewCreateQuery setComment(String comment)
public String getAssignee()
public ReviewCreateQuery setAssignee(String userLogin)
public ReviewCreateQuery setStatus(String status)
public String getResolution()
public ReviewCreateQuery setResolution(String resolution)
public String getUrl()
AbstractQuery
IMPORTANT: In implementations of this method we must use helper methods to construct URL.
public String getBody()
comment
is transmitted through request body as content may exceed URL size allowed by the server.getBody
in class AbstractQuery<Review>
public Class<Review> getModelClass()
getModelClass
in class CreateQuery<Review>
Copyright © 2009-2013 SonarSource. All Rights Reserved.