Package org.gradle.api.reporting
Interface DirectoryReport
- All Superinterfaces:
org.gradle.util.Configurable<Report>
,ConfigurableReport
,Report
,Serializable
- All Known Subinterfaces:
JUnitXmlReport
A directory based report to be created.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.reporting.Report
Report.OutputType
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe location on the filesystem of the report when it is generated.Returns the entry point of a directory based Report This can be the index.html file in a HTML reportAlways returnsReport.OutputType.DIRECTORY
Methods inherited from interface org.gradle.util.Configurable
configure
Methods inherited from interface org.gradle.api.reporting.ConfigurableReport
setDestination, setDestination, setDestination, setEnabled, setEnabled
Methods inherited from interface org.gradle.api.reporting.Report
getDisplayName, getName, isEnabled
-
Method Details
-
getEntryPoint
Returns the entry point of a directory based Report This can be the index.html file in a HTML report- Returns:
- the entry point of the report or
getDestination()
if no entry point defined
-
getDestination
File getDestination()Description copied from interface:Report
The location on the filesystem of the report when it is generated.Depending on the
output type
of the report, this may point to a file or a directory.Subtypes may implement setters for the destination.
- Specified by:
getDestination
in interfaceReport
- Returns:
- The location on the filesystem of the report when it is generated
-
getOutputType
Report.OutputType getOutputType()Always returnsReport.OutputType.DIRECTORY
- Specified by:
getOutputType
in interfaceReport
- Returns:
Report.OutputType.DIRECTORY
-