Class ReportFormatSonarqube

    • Constructor Detail

      • ReportFormatSonarqube

        public ReportFormatSonarqube()
    • Method Detail

      • getPath

        public String getPath​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
        Specified by:
        getPath in interface ReportFormat
      • getRuleId

        public String getRuleId​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
        Specified by:
        getRuleId in interface ReportFormat
      • getMessage

        public String getMessage​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
        Specified by:
        getMessage in interface ReportFormat
      • getIssueLocation

        public org.sonar.api.batch.sensor.issue.NewIssueLocation getIssueLocation​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson,
                                                                                  org.sonar.api.batch.sensor.issue.NewExternalIssue externalIssue,
                                                                                  org.sonar.api.batch.fs.InputFile inputFile)
        Specified by:
        getIssueLocation in interface ReportFormat
      • getRuleType

        public String getRuleType​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
        Specified by:
        getRuleType in interface ReportFormat
      • getSeverity

        public String getSeverity​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
        Specified by:
        getSeverity in interface ReportFormat