public class DefaultDirectoryReport extends DefaultDestinationReport implements org.gradle.api.reporting.DirectoryReport
DirectoryReport with a lazily evaluated default destination.| Constructor and Description |
|---|
DefaultDirectoryReport(org.gradle.api.Project pProject,
java.lang.String pName,
java.lang.String pDisplayName,
java.lang.String pEntryPointRelativePath,
groovy.lang.Closure<java.io.File> pDefaultDestination)
Create a new
DefaultDirectoryReport. |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getEntryPoint() |
org.gradle.api.file.DirectoryProperty |
getOutputLocation() |
resolveDestinationconfigure, getDestination, getDisplayName, getName, getOutputType, getProject, getProjectLogger, getRequired, isEnabled, reportIsRequired, setDestination, setDestination, setEnabled, setEnabled, setOutputLocation, setRequired, toString, useDestinationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetDestination, setDestination, setEnabled, setEnabledpublic DefaultDirectoryReport(org.gradle.api.Project pProject,
java.lang.String pName,
java.lang.String pDisplayName,
java.lang.String pEntryPointRelativePath,
groovy.lang.Closure<java.io.File> pDefaultDestination)
DefaultDirectoryReport.pProject - The project for which the report will be produced.pName - The report's symbolic name.pDisplayName - The report's descriptive name.pEntryPointRelativePath - The report's entry point relative to its destination. Pass null
to use the destination as entry point.pDefaultDestination - A closure that will return the report's default directory
destination when called.java.lang.NullPointerException - if pProject or pDefaultDestination is null.public java.io.File getEntryPoint()
getEntryPoint in interface org.gradle.api.reporting.DirectoryReport@OutputDirectory public org.gradle.api.file.DirectoryProperty getOutputLocation()
getOutputLocation in interface org.gradle.api.reporting.DirectoryReportgetOutputLocation in interface org.gradle.api.reporting.Report