Class SarifReporter
java.lang.Object
com.github._1c_syntax.bsl.languageserver.reporters.AbstractDiagnosticReporter
com.github._1c_syntax.bsl.languageserver.reporters.SarifReporter
- All Implemented Interfaces:
DiagnosticReporter
Репортер в формат SARIF.
- See Also:
-
Field Summary
Fields inherited from class AbstractDiagnosticReporter
diagnosticInfos, serverContextProvider -
Constructor Summary
ConstructorsConstructorDescriptionSarifReporter(ServerContextProvider serverContextProvider, DiagnosticInfos diagnosticInfos, ServerInfo serverInfo, LanguageServerConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionkey()Получить ключ (идентификатор) репортера.voidreport(AnalysisInfo analysisInfo, Path outputDir) Сформировать отчет о результатах анализа.Methods inherited from class AbstractDiagnosticReporter
getDiagnosticInfosByCode, getServerContext
-
Constructor Details
-
SarifReporter
public SarifReporter(ServerContextProvider serverContextProvider, DiagnosticInfos diagnosticInfos, ServerInfo serverInfo, LanguageServerConfiguration configuration)
-
-
Method Details
-
key
Description copied from interface:DiagnosticReporterПолучить ключ (идентификатор) репортера.- Returns:
- Уникальный ключ репортера
-
report
Description copied from interface:DiagnosticReporterСформировать отчет о результатах анализа.- Parameters:
analysisInfo- Информация о результатах анализаoutputDir- Директория для сохранения отчета
-