Interface ReportFormat

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default int asInt​(Object o)  
      static ReportFormat getFormatBasedOnReport​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)  
      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)  
      String getMessage​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)  
      String getPath​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)  
      String getRuleId​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)  
      String getRuleType​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)  
      String getSeverity​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)  
    • Method Detail

      • getFormatBasedOnReport

        static ReportFormat getFormatBasedOnReport​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
      • getPath

        String getPath​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
      • getRuleId

        String getRuleId​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
      • getMessage

        String getMessage​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
      • getIssueLocation

        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)
      • getRuleType

        String getRuleType​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
      • getSeverity

        String getSeverity​(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)
      • asInt

        default int asInt​(Object o)