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(Date updatedAt, String authorLogin, String text)
           
 String getAssigneeLogin()
           
 String getAuthorLogin()
           
 List<Review.Comment> getComments()
           
 Date getCreatedAt()
           
 Long getId()
           
 Integer getLine()
           
 String getResourceKee()
           
 String getSeverity()
           
 String getStatus()
           
 String getTitle()
           
 String getType()
           
 Date getUpdatedAt()
           
 Review setAssigneeLogin(String s)
           
 Review setAuthorLogin(String s)
           
 Review setCreatedAt(Date createdAt)
           
 Review setId(Long id)
           
 Review setLine(Integer line)
           
 Review setResourceKee(String resourceKee)
           
 Review setSeverity(String severity)
           
 Review setStatus(String status)
           
 Review setTitle(String s)
           
 Review setType(String s)
           
 Review setUpdatedAt(Date updatedAt)
           
 
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:
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.