api / org.gradle.api.plugins.quality / PmdReports

PmdReports

interface PmdReports : ReportContainer<SingleFileReport>

The reporting configuration for the Pmd task.

Functions

getHtml

abstract fun getHtml(): SingleFileReport

The pmd (single file) HTML report

getXml

abstract fun getXml(): SingleFileReport

The pmd (single file) XML report

Inherited Functions

getAsMap

abstract fun getAsMap(): SortedMap<String, T>

getEnabled

abstract fun getEnabled(): NamedDomainObjectSet<T>

Returns an immutable collection of all the enabled Report objects in this container.

The returned collection is live. That is, as reports are enabled/disabled the returned collection always reflects the current set of enabled reports.

getEnabledReports

abstract fun getEnabledReports(): MutableMap<String, T>

Returns the enabled reports, keyed by report name.

getNamer

abstract fun getNamer(): Namer<T>

getNames

abstract fun getNames(): SortedSet<String>

getRules

abstract fun getRules(): MutableList<Rule>

isEmpty

abstract fun isEmpty(): Boolean