Modifier and Type | Method and Description |
---|---|
NewIssue |
attribute(String key,
String value) |
NewIssue |
component(String s) |
static NewIssue |
create() |
NewIssue |
effortToFix(Double d) |
NewIssue |
line(Integer i)
Optional line, starting from 1.
|
NewIssue |
message(String s) |
NewIssue |
rule(String s)
Rule key prefixed by the repository, for example "checkstyle:AvoidCycle".
|
NewIssue |
severity(String s)
Optionally set the severity, in INFO, MINOR, MAJOR, CRITICAL or BLOCKER.
|
Map<String,Object> |
urlParams() |
public NewIssue severity(@Nullable String s)
public NewIssue rule(String s)
public NewIssue effortToFix(@Nullable Double d)
Copyright © 2009–2015 SonarSource. All rights reserved.