api / org.gradle.testing.jacoco.tasks / JacocoReportsContainer

JacocoReportsContainer

@Incubating interface JacocoReportsContainer : ReportContainer<ConfigurableReport>

The reporting configuration for the JacocoReport task.

Functions

getCsv

abstract fun getCsv(): SingleFileReport

The JaCoCo (single file) CSV report

getHtml

abstract fun getHtml(): DirectoryReport

The JaCoCo HTML report

getXml

abstract fun getXml(): SingleFileReport

The JaCoCo (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