Package org.gradle.api.plugins.quality
Interface CheckstyleReports
-
- All Superinterfaces:
java.util.Collection<SingleFileReport>,Configurable<ReportContainer<SingleFileReport>>,DomainObjectCollection<SingleFileReport>,DomainObjectSet<SingleFileReport>,java.lang.Iterable<SingleFileReport>,NamedDomainObjectCollection<SingleFileReport>,NamedDomainObjectSet<SingleFileReport>,ReportContainer<SingleFileReport>,java.util.Set<SingleFileReport>
public interface CheckstyleReports extends ReportContainer<SingleFileReport>
The reporting configuration for theCheckstyletask.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.reporting.ReportContainer
ReportContainer.ImmutableViolationException
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomizableHtmlReportgetHtml()The checkstyle HTML report.SingleFileReportgetSarif()The checkstyle SARIF reportSingleFileReportgetXml()The checkstyle XML report-
Methods inherited from interface org.gradle.util.Configurable
configure
-
Methods inherited from interface org.gradle.api.DomainObjectCollection
addAllLater, addLater, all, all, configureEach, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType
-
Methods inherited from interface org.gradle.api.NamedDomainObjectCollection
add, addAll, addRule, addRule, addRule, findByName, getAt, getByName, getByName, getByName, getCollectionSchema, named, named, named, named
-
Methods inherited from interface org.gradle.api.NamedDomainObjectSet
findAll, matching, matching, named, withType
-
Methods inherited from interface org.gradle.api.reporting.ReportContainer
getAsMap, getEnabled, getEnabledReports, getNamer, getNames, getRules, isEmpty
-
-
-
-
Method Detail
-
getHtml
@Internal CustomizableHtmlReport getHtml()
The checkstyle HTML report.This report IS enabled by default.
Enabling this report will also cause the XML report to be generated, as the HTML is derived from the XML.
- Returns:
- The checkstyle HTML report
- Since:
- 2.10
-
getXml
@Internal SingleFileReport getXml()
The checkstyle XML reportThis report IS enabled by default.
- Returns:
- The checkstyle XML report
-
getSarif
@Internal @Incubating SingleFileReport getSarif()
The checkstyle SARIF reportThis report is NOT enabled by default.
- Returns:
- The checkstyle SARIF report
- Since:
- 8.1
-
-