org.sonar.wsclient.services
Class Review

java.lang.Object
  extended by org.sonar.wsclient.services.Model
      extended by org.sonar.wsclient.services.Review

public class Review
extends Model

Since:
2.8

Nested Class Summary
static class Review.Comment
           
 
Constructor Summary
Review()
           
 
Method Summary
 Review addComments(Long id, Date updatedAt, String authorLogin, String text)
           
 String getAssigneeLogin()
           
 String getAuthorLogin()
           
 List<Review.Comment> getComments()
           
 Date getCreatedAt()
           
 Long getId()
           
 Integer getLine()
           
 String getResolution()
           
 String getResourceKee()
           
 String getSeverity()
           
 String getStatus()
           
 String getTitle()
           
 String getType()
          Deprecated. since 2.9.
 Date getUpdatedAt()
           
 Long getViolationId()
           
 Review setAssigneeLogin(String s)
           
 Review setAuthorLogin(String s)
           
 Review setCreatedAt(Date createdAt)
           
 Review setId(Long id)
           
 Review setLine(Integer line)
           
 Review setResolution(String resolution)
           
 Review setResourceKee(String resourceKee)
           
 Review setSeverity(String severity)
           
 Review setStatus(String status)
           
 Review setTitle(String s)
           
 Review setType(String s)
          Deprecated. since 2.9.
 Review setUpdatedAt(Date updatedAt)
           
 Review setViolationId(Long violationId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Review

public Review()
Method Detail

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.