public interface Report extends Serializable, org.gradle.util.Configurable<Report>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Report.OutputType
The type of output the report produces
|
| Modifier and Type | Method and Description |
|---|---|
File |
getDestination()
The location on the filesystem of the report when it is generated.
|
String |
getDisplayName()
A more descriptive name of this report.
|
String |
getName()
The symbolic name of this report.
|
Report.OutputType |
getOutputType()
The type of output that the report generates.
|
boolean |
isEnabled()
Whether or not this report should be generated by whatever generates it.
|
void |
setEnabled(boolean enabled)
Whether or not this report should be generated by whatever generates it.
|
String getName()
ReportContainer, reports are accessed via their name. That is, given a report container variable
named reports containing a report who's getName() returns "html", the report could be accessed
via:
reports.html
String getDisplayName()
boolean isEnabled()
true, the generator of this report will generate it at the appropriate time.
If false, the generator of this report will not generate this report.void setEnabled(boolean enabled)
enabled - Whether or not this report should be generated by whatever generates it.isEnabled()File getDestination()
output type of the report, this may point to
a file or a directory.
Subtypes may implement setters for the destination.Report.OutputType getOutputType()