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:
- the id
setId
public Review setId(Long id)
- Parameters:
id
- the id to set
getCreatedAt
public Date getCreatedAt()
- Returns:
- the createdAt
setCreatedAt
public Review setCreatedAt(Date createdAt)
- Parameters:
createdAt
- the createdAt to set
getUpdatedAt
public Date getUpdatedAt()
- Returns:
- the updatedAt
setUpdatedAt
public Review setUpdatedAt(Date updatedAt)
- Parameters:
updatedAt
- the updatedAt to set
getAuthorLogin
public String getAuthorLogin()
- Returns:
- the authorLogin
setAuthorLogin
public Review setAuthorLogin(String s)
- Parameters:
s
- the authorLogin to set
getAssigneeLogin
public String getAssigneeLogin()
- Returns:
- the assigneeLogin
setAssigneeLogin
public Review setAssigneeLogin(String s)
- Parameters:
s
- the assigneeLogin to set
getTitle
public String getTitle()
- Returns:
- the title
setTitle
public Review setTitle(String s)
- Parameters:
s
- the title to set
getType
public String getType()
- Returns:
- the type
setType
public Review setType(String s)
- Parameters:
s
- the type to set
getStatus
public String getStatus()
- Returns:
- the status
setStatus
public Review setStatus(String status)
- Parameters:
status
- the status to set
getSeverity
public String getSeverity()
- Returns:
- the severity
setSeverity
public Review setSeverity(String severity)
- Parameters:
severity
- the severity to set
getResourceKee
public String getResourceKee()
- Returns:
- the resourceKee
setResourceKee
public Review setResourceKee(String resourceKee)
- Parameters:
resourceKee
- the resourceKee to set
getLine
public Integer getLine()
- Returns:
- the line
setLine
public Review setLine(Integer line)
- Parameters:
line
- the line to set
getComments
public List<Review.Comment> getComments()
- Returns:
- the comments
addComments
public Review addComments(Date updatedAt,
String authorLogin,
String text)
Copyright © 2009-2011 SonarSource. All Rights Reserved.