public interface NewIssue
Sensor
.Modifier and Type | Method and Description |
---|---|
NewIssue |
addFlow(Iterable<NewIssueLocation> flowLocations)
Register a flow for this issue.
|
NewIssue |
addLocation(NewIssueLocation secondaryLocation)
Add a secondary location for this issue.
|
NewIssue |
at(NewIssueLocation primaryLocation)
Primary location for this issue.
|
NewIssue |
effortToFix(Double effortToFix)
Deprecated.
since 5.5 use
gap(Double) |
NewIssue |
forRule(RuleKey ruleKey)
The
RuleKey of the issue. |
NewIssue |
gap(Double gap)
Gap used for the computation of the effort.
|
NewIssueLocation |
newLocation()
Create a new location for this issue.
|
NewIssue |
overrideSeverity(Severity severity)
Override severity of the issue.
|
void |
save()
Save the issue.
|
@Deprecated NewIssue effortToFix(@Nullable Double effortToFix)
gap(Double)
NewIssue overrideSeverity(@Nullable Severity severity)
NewIssue at(NewIssueLocation primaryLocation)
NewIssue addLocation(NewIssueLocation secondaryLocation)
NewIssue addFlow(Iterable<NewIssueLocation> flowLocations)
NewIssueLocation newLocation()
void save()
Copyright © 2009–2017 SonarSource. All rights reserved.