@Beta public final class DefaultReview extends Object implements MutableReview
Constructor and Description |
---|
DefaultReview() |
public DefaultReview()
public Long getViolationId()
public DefaultReview setViolationId(Long violationId)
public Long getReviewId()
Review
getReviewId
in interface Review
public DefaultReview setReviewId(Long reviewId)
public String getRuleRepositoryKey()
getRuleRepositoryKey
in interface Review
public DefaultReview setRuleRepositoryKey(String s)
public String getRuleKey()
getRuleKey
in interface Review
public DefaultReview setRuleKey(String s)
public String getRuleName()
getRuleName
in interface Review
public DefaultReview setRuleName(String s)
public DefaultReview setLine(Long line)
public boolean isSwitchedOff()
isSwitchedOff
in interface Review
public DefaultReview setSwitchedOff(boolean b)
public boolean isManual()
public DefaultReview setManual(boolean manual)
public String getMessage()
getMessage
in interface Review
public DefaultReview setMessage(String message)
public DefaultReview setStatus(String s)
setStatus
in interface MutableReview
public String getResolution()
getResolution
in interface Review
public DefaultReview setResolution(@Nullable String s)
setResolution
in interface MutableReview
public String getSeverity()
getSeverity
in interface Review
public DefaultReview setSeverity(String s)
public Map<String,String> getProperties()
getProperties
in interface Review
public DefaultReview setProperties(Map<String,String> properties)
public DefaultReview setPropertiesAsString(@Nullable String s)
public Comment createComment()
createComment
in interface MutableReview
public List<Comment> getNewComments()
getNewComments
in interface MutableReview
public DefaultReview setProperty(String key, @Nullable String value)
setProperty
in interface MutableReview
Copyright © 2009-2013 SonarSource. All Rights Reserved.