|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface IssueBuilder
Builder for Issue.
| Method Summary | |
|---|---|
IssueBuilder |
atLine(int line)
Line of the issue. |
Issue |
build()
Build the issue. |
IssueBuilder |
effortToFix(Double effortToFix)
Effort to fix the issue. |
IssueBuilder |
message(String message)
Message of the issue. |
IssueBuilder |
onDir(InputDir inputDir)
The InputDir the issue belongs to. |
IssueBuilder |
onFile(InputFile file)
The InputFile the issue belongs to. |
IssueBuilder |
onProject()
Tell that the issue is global to the project. |
IssueBuilder |
ruleKey(RuleKey ruleKey)
The RuleKey of the issue. |
IssueBuilder |
severity(String severity)
Severity of the issue. |
| Method Detail |
|---|
IssueBuilder ruleKey(RuleKey ruleKey)
RuleKey of the issue.
IssueBuilder onFile(InputFile file)
InputFile the issue belongs to. For global issues call onProject().
IssueBuilder onDir(InputDir inputDir)
InputDir the issue belongs to. For global issues call onProject().
IssueBuilder onProject()
IssueBuilder atLine(int line)
onFile(InputFile) issues.
If no line is specified it means that issue is global to the file.
IssueBuilder effortToFix(@Nullable
Double effortToFix)
IssueBuilder message(String message)
IssueBuilder severity(@Nullable
String severity)
Severity.
Setting a null value means to use severity configured in quality profile.
Issue build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||