org.sonar.wsclient.services
Class Review
java.lang.Object
org.sonar.wsclient.services.Model
org.sonar.wsclient.services.Review
public class Review
- extends Model
- Since:
- 2.8
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Review
public Review()
getId
public Long getId()
- Returns:
- id
setId
public Review setId(Long id)
getCreatedAt
public Date getCreatedAt()
- Returns:
- date of creation
setCreatedAt
public Review setCreatedAt(Date createdAt)
getUpdatedAt
public Date getUpdatedAt()
- Returns:
- date of last modification
setUpdatedAt
public Review setUpdatedAt(Date updatedAt)
getAuthorLogin
public String getAuthorLogin()
- Returns:
- user that initiated review
setAuthorLogin
public Review setAuthorLogin(String s)
getAssigneeLogin
public String getAssigneeLogin()
- Returns:
- assignee
setAssigneeLogin
public Review setAssigneeLogin(String s)
getTitle
public String getTitle()
- Returns:
- title
setTitle
public Review setTitle(String s)
getType
@Deprecated
public String getType()
- Deprecated. since 2.9.
setType
@Deprecated
public Review setType(String s)
- Deprecated. since 2.9.
getStatus
public String getStatus()
- Returns:
- status
setStatus
public Review setStatus(String status)
getSeverity
public String getSeverity()
- Returns:
- severity
setSeverity
public Review setSeverity(String severity)
getResourceKee
public String getResourceKee()
- Returns:
- resourceKee
setResourceKee
public Review setResourceKee(String resourceKee)
getLine
public Integer getLine()
- Returns:
- line
setLine
public Review setLine(Integer line)
getResolution
public String getResolution()
- Since:
- 2.9
setResolution
public Review setResolution(String resolution)
- Since:
- 2.9
getViolationId
public Long getViolationId()
- Returns:
- violation id
- Since:
- 2.9
setViolationId
public Review setViolationId(Long violationId)
getComments
public List<Review.Comment> getComments()
- Returns:
- comments
addComments
public Review addComments(Long id,
Date updatedAt,
String authorLogin,
String text)
Copyright © 2009-2012 SonarSource. All Rights Reserved.