Class CodeQualityReportEntry

java.lang.Object
com.github._1c_syntax.bsl.languageserver.reporters.CodeQualityReportEntry

public class CodeQualityReportEntry extends Object
  • Constructor Details

    • CodeQualityReportEntry

      public CodeQualityReportEntry(String path, org.eclipse.lsp4j.Diagnostic diagnostic, DiagnosticInfo diagnosticInfo)
    • CodeQualityReportEntry

      @ConstructorProperties({"description","checkName","fingerprint","severity","location"}) public CodeQualityReportEntry(String description, String checkName, String fingerprint, CodeQualityReportEntry.Severity severity, CodeQualityReportEntry.Location location)
      Creates a new CodeQualityReportEntry instance.
      Parameters:
      description - A human-readable description of the code quality violation.
      checkName - A unique name representing the check, or rule, associated with this violation.
      fingerprint - A unique fingerprint to identify this specific code quality violation, such as a hash of its contents.
      severity - The severity of the violation.
      location -
  • Method Details

    • getDescription

      public String getDescription()
      A human-readable description of the code quality violation.
    • getCheckName

      public String getCheckName()
      A unique name representing the check, or rule, associated with this violation.
    • getFingerprint

      public String getFingerprint()
      A unique fingerprint to identify this specific code quality violation, such as a hash of its contents.
    • getSeverity

      public CodeQualityReportEntry.Severity getSeverity()
      The severity of the violation.
    • getLocation

      public CodeQualityReportEntry.Location getLocation()