org.sonar.wsclient.services
Class ReviewCreateQuery
java.lang.Object
org.sonar.wsclient.services.AbstractQuery<MODEL>
org.sonar.wsclient.services.CreateQuery<Review>
org.sonar.wsclient.services.ReviewCreateQuery
public class ReviewCreateQuery
- extends CreateQuery<Review>
- Since:
- 2.9
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReviewCreateQuery
public ReviewCreateQuery()
getViolationId
public Long getViolationId()
setViolationId
public ReviewCreateQuery setViolationId(Long violationId)
getComment
public String getComment()
setComment
public ReviewCreateQuery setComment(String comment)
getAssignee
public String getAssignee()
setAssignee
public ReviewCreateQuery setAssignee(String userLogin)
getStatus
public String getStatus()
setStatus
public ReviewCreateQuery setStatus(String status)
getResolution
public String getResolution()
setResolution
public ReviewCreateQuery setResolution(String resolution)
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<Review>
- See Also:
AbstractQuery.encode(String)
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Object)
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Object[])
,
AbstractQuery.appendUrlParameter(StringBuilder, String, Date, boolean)
getBody
public String getBody()
- Property
comment
is transmitted through request body as content may exceed URL size allowed by the server.
- Overrides:
getBody
in class AbstractQuery<Review>
getModelClass
public Class<Review> getModelClass()
- Specified by:
getModelClass
in class CreateQuery<Review>
Copyright © 2009-2012 SonarSource. All Rights Reserved.