public final class ImmutableReview extends Object implements Review
| Constructor and Description |
|---|
ImmutableReview(DefaultReview review)
Warning : implementation is still mutable.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getLine() |
String |
getMessage() |
Map<String,String> |
getProperties() |
String |
getResolution() |
Long |
getReviewId()
This method will probably be removed in order to decrease
coupling with database.
|
String |
getRuleKey() |
String |
getRuleName() |
String |
getRuleRepositoryKey() |
String |
getSeverity() |
String |
getStatus() |
Long |
getViolationId() |
boolean |
isManual() |
boolean |
isSwitchedOff() |
public ImmutableReview(DefaultReview review)
public Long getViolationId()
public Long getReviewId()
ReviewgetReviewId in interface Reviewpublic String getRuleName()
getRuleName in interface Reviewpublic String getRuleRepositoryKey()
getRuleRepositoryKey in interface Reviewpublic String getRuleKey()
getRuleKey in interface Reviewpublic boolean isSwitchedOff()
isSwitchedOff in interface Reviewpublic boolean isManual()
public String getMessage()
getMessage in interface Reviewpublic String getResolution()
getResolution in interface Reviewpublic String getSeverity()
getSeverity in interface Reviewpublic Map<String,String> getProperties()
getProperties in interface ReviewCopyright © 2009-2012 SonarSource. All Rights Reserved.