Package | Description |
---|---|
org.sonar.api.batch.sensor | |
org.sonar.api.batch.sensor.internal | |
org.sonar.api.batch.sensor.issue | |
org.sonar.api.batch.sensor.issue.internal |
Modifier and Type | Method and Description |
---|---|
NewIssue |
SensorContext.newIssue()
Fluent builder to create a new
Issue . |
Modifier and Type | Method and Description |
---|---|
NewIssue |
SensorContextTester.newIssue() |
Modifier and Type | Method and Description |
---|---|
NewIssue |
NewIssue.addFlow(Iterable<NewIssueLocation> flowLocations)
Register a flow for this issue.
|
NewIssue |
NewIssue.addLocation(NewIssueLocation secondaryLocation)
Add a secondary location for this issue.
|
NewIssue |
NewIssue.at(NewIssueLocation primaryLocation)
Primary location for this issue.
|
NewIssue |
NewIssue.effortToFix(Double effortToFix)
Deprecated.
since 5.5 use
gap(Double) |
NewIssue |
NewIssue.forRule(RuleKey ruleKey)
The
RuleKey of the issue. |
NewIssue |
NewIssue.gap(Double gap)
Gap used for the computation of the effort.
|
NewIssue |
NewIssue.overrideSeverity(Severity severity)
Override severity of the issue.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultIssue |
Modifier and Type | Method and Description |
---|---|
NewIssue |
DefaultIssue.addLocation(NewIssueLocation secondaryLocation) |
Copyright © 2009–2016 SonarSource. All rights reserved.