api / org.gradle.api.reporting / SingleFileReport

SingleFileReport

interface SingleFileReport : ConfigurableReport

A report that is a single file.

Functions

getDestination

abstract fun getDestination(): File

getOutputType

abstract fun getOutputType(): OutputType

Always returns Report.OutputType#FILE

Inherited Functions

setDestination

abstract fun setDestination(file: Any): Unit

Sets the destination for the report. The file parameter is evaluated as per org.gradle.api.Project#file(Object).

abstract fun setDestination(file: File): Unit
abstract fun setDestination(provider: Provider<File>): Unit

Sets the destination for the report.

setEnabled

abstract fun setEnabled(enabled: Boolean): Unit
abstract fun setEnabled(enabled: Provider<Boolean>): Unit

Whether or not this report should be generated by whatever generates it.

Inheritors

CustomizableHtmlReport

interface CustomizableHtmlReport : SingleFileReport

A HTML Report whose generation can be customized with a XSLT stylesheet.

FindBugsXmlReport

interface FindBugsXmlReport : SingleFileReport

The single file XML report for FindBugs.