Interface ReportFormat
-
- All Known Implementing Classes:
ReportFormatJson,ReportFormatSonarqube
public interface ReportFormat
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intasInt(Object o)static ReportFormatgetFormatBasedOnReport(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)org.sonar.api.batch.sensor.issue.NewIssueLocationgetIssueLocation(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson, org.sonar.api.batch.sensor.issue.NewExternalIssue externalIssue, org.sonar.api.batch.fs.InputFile inputFile)StringgetMessage(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)StringgetPath(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)StringgetRuleId(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)StringgetRuleType(org.sonarsource.analyzer.commons.internal.json.simple.JSONObject issueJson)StringgetSeverity(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)
-
-