Class SarifReporter
java.lang.Object
com.github._1c_syntax.bsl.languageserver.reporters.SarifReporter
- All Implemented Interfaces:
DiagnosticReporter
Репортер в формат SARIF.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSarifReporter(LanguageServerConfiguration configuration, Collection<DiagnosticInfo> diagnosticInfos, ServerInfo serverInfo) -
Method Summary
Modifier and TypeMethodDescriptionkey()Получить ключ (идентификатор) репортера.voidreport(AnalysisInfo analysisInfo, Path outputDir) Сформировать отчет о результатах анализа.
-
Constructor Details
-
SarifReporter
@ConstructorProperties({"configuration","diagnosticInfos","serverInfo"}) public SarifReporter(LanguageServerConfiguration configuration, Collection<DiagnosticInfo> diagnosticInfos, ServerInfo serverInfo)
-
-
Method Details
-
key
Description copied from interface:DiagnosticReporterПолучить ключ (идентификатор) репортера.- Specified by:
keyin interfaceDiagnosticReporter- Returns:
- Уникальный ключ репортера
-
report
Description copied from interface:DiagnosticReporterСформировать отчет о результатах анализа.- Specified by:
reportin interfaceDiagnosticReporter- Parameters:
analysisInfo- Информация о результатах анализаoutputDir- Директория для сохранения отчета
-