api / org.gradle.api.plugins.quality / FindBugsReports

FindBugsReports

interface FindBugsReports : ReportContainer<SingleFileReport>

The reporting configuration for the FindBugs task. Only one of the reports can be enabled when the task executes. If more than one is enabled, an org.gradle.api.InvalidUserDataException will be thrown.

Functions

getEmacs

abstract fun getEmacs(): SingleFileReport

The findbugs Emacs report

getHtml

abstract fun getHtml(): SingleFileReport

The findbugs HTML report

getText

abstract fun getText(): SingleFileReport

The findbugs Text report

getXml

abstract fun getXml(): FindBugsXmlReport

The findbugs 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