Class SarifParserCallbackImpl
java.lang.Object
org.sonarsource.dotnet.shared.plugins.SarifParserCallbackImpl
- All Implemented Interfaces:
SarifParserCallback
This class is responsible to report to SonarQube each issue found in the Roslyn reports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonFileIssue(String ruleId, String level, String absolutePath, Collection<Location> secondaryLocations, String message) voidonIssue(String ruleId, String level, Location primaryLocation, Collection<Location> secondaryLocations) voidonProjectIssue(String ruleId, String level, org.sonar.api.scanner.fs.InputProject inputProject, String message) voidonRule(String ruleId, String shortDescription, String fullDescription, String defaultLevel, String category)
-
Constructor Details
-
SarifParserCallbackImpl
-
-
Method Details
-
onProjectIssue
public void onProjectIssue(String ruleId, @Nullable String level, org.sonar.api.scanner.fs.InputProject inputProject, String message) - Specified by:
onProjectIssuein interfaceSarifParserCallback
-
onFileIssue
public void onFileIssue(String ruleId, @Nullable String level, String absolutePath, Collection<Location> secondaryLocations, String message) - Specified by:
onFileIssuein interfaceSarifParserCallback
-
onRule
public void onRule(String ruleId, @Nullable String shortDescription, @Nullable String fullDescription, String defaultLevel, @Nullable String category) - Specified by:
onRulein interfaceSarifParserCallback
-