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()
Review
getReviewId
in interface Review
public String getRuleName()
getRuleName
in interface Review
public String getRuleRepositoryKey()
getRuleRepositoryKey
in interface Review
public String getRuleKey()
getRuleKey
in interface Review
public boolean isSwitchedOff()
isSwitchedOff
in interface Review
public boolean isManual()
public String getMessage()
getMessage
in interface Review
public String getResolution()
getResolution
in interface Review
public String getSeverity()
getSeverity
in interface Review
public Map<String,String> getProperties()
getProperties
in interface Review
Copyright © 2009-2012 SonarSource. All Rights Reserved.