class GitlabCodeQualityReportWriter extends AbstractReportWriter
ReportWriter that generates a JSON report in the format expected by GitLab's Code Quality service. See https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool
| Fields inherited from class | Fields |
|---|---|
class AbstractReportWriter |
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle |
| Type | Name and description |
|---|---|
java.lang.String |
defaultOutputFile |
java.lang.Boolean |
writeAsSingleLine |
| Properties inherited from class | Properties |
|---|---|
class AbstractReportWriter |
outputFile, writeToStandardOut |
| Constructor and description |
|---|
GitlabCodeQualityReportWriter() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
isWriteAsSingleLine() |
|
void |
writeReport(java.io.Writer writer, AnalysisContext analysisContext, Results results) |
| Methods inherited from class | Name |
|---|---|
class AbstractReportWriter |
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getResourceBundleString, getSortedRules, initializeDefaultResourceBundle, isEnabled, isWriteToStandardOut, writeReport, writeReport |
Groovy Documentation