|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.batch.sensor.issue.internal.DefaultIssue
public class DefaultIssue
| Method Summary | |
|---|---|
Double |
effortToFix()
Effort to fix the issue. |
boolean |
equals(Object o)
|
int |
hashCode()
|
InputPath |
inputPath()
The InputPath this issue belongs to. |
String |
key()
|
Integer |
line()
Line of the issue. |
String |
message()
Message of the issue. |
RuleKey |
ruleKey()
The RuleKey of this issue. |
void |
setMessage(String message)
|
void |
setSeverity(String severity)
|
String |
severity()
See constants in Severity. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String key()
@Nullable public InputPath inputPath()
IssueInputPath this issue belongs to. Returns null if issue is global to the project.
inputPath in interface Issuepublic RuleKey ruleKey()
IssueRuleKey of this issue.
ruleKey in interface Issue@CheckForNull public String message()
Issue
message in interface Issuepublic void setMessage(String message)
public Integer line()
Issue
line in interface Issue@Nullable public Double effortToFix()
Issue
effortToFix in interface Issue@CheckForNull public String severity()
IssueSeverity.
Can be null before issue is saved. Means to use severity configured in quality profile.
severity in interface Issuepublic void setSeverity(String severity)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||