|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
Issue
InputPath
this issue belongs to. Returns null if issue is global to the project.
inputPath
in interface Issue
public RuleKey ruleKey()
Issue
RuleKey
of this issue.
ruleKey
in interface Issue
@CheckForNull public String message()
Issue
message
in interface Issue
public 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()
Issue
Severity
.
Can be null before issue is saved. Means to use severity configured in quality profile.
severity
in interface Issue
public void setSeverity(String severity)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |