Package org.sonar.api.batch.sensor.issue
Interface Issue
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIssue.Flow
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>codeVariants()java.util.List<Issue.Flow>flows()List of flows for this issue.java.lang.Doublegap()Gap used to compute the effort for fixing the issue.java.util.List<java.lang.String>internalTags()Technical tags for the issue - for internal use only.booleanisQuickFixAvailable()Is there a QuickFix available in SonarLint for this issueSeverityoverriddenSeverity()Overridden severity.java.util.Map<SoftwareQuality,Severity>overridenImpacts()Retrieve the overriden impacts for this issue.IssueLocationprimaryLocation()Primary locations for this issue.java.util.List<QuickFix>quickFixes()The list of quick fixes contributed for this issue.java.util.Optional<java.lang.String>ruleDescriptionContextKey()The optional rule description section context key, in case the analyzer detects a context for the issue.
-
-
-
Method Detail
-
gap
@CheckForNull java.lang.Double gap()
Gap used to compute the effort for fixing the issue.- Since:
- 5.5
-
overriddenSeverity
@CheckForNull Severity overriddenSeverity()
Overridden severity.
-
overridenImpacts
java.util.Map<SoftwareQuality,Severity> overridenImpacts()
Retrieve the overriden impacts for this issue.- Since:
- 10.1
-
primaryLocation
IssueLocation primaryLocation()
Primary locations for this issue.- Specified by:
primaryLocationin interfaceIIssue- Since:
- 5.2
-
flows
java.util.List<Issue.Flow> flows()
List of flows for this issue. Can be empty.
-
isQuickFixAvailable
boolean isQuickFixAvailable()
Is there a QuickFix available in SonarLint for this issue- Since:
- 9.2
-
ruleDescriptionContextKey
java.util.Optional<java.lang.String> ruleDescriptionContextKey()
The optional rule description section context key, in case the analyzer detects a context for the issue. The key will match the one present inContext.getKey().- Since:
- 9.8
-
quickFixes
java.util.List<QuickFix> quickFixes()
The list of quick fixes contributed for this issue. Could be empty but never null.- Since:
- 9.13
-
codeVariants
@CheckForNull java.util.List<java.lang.String> codeVariants()
- Since:
- 9.17
-
internalTags
@Beta java.util.List<java.lang.String> internalTags()
Technical tags for the issue - for internal use only. This API is experimental and can be changed or dropped at any time.- Since:
- 13.1
-
-