public interface TransformingReport
extends org.gradle.api.reporting.SingleFileReport
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
applyProjectRootXslParameter(org.gradle.api.Project pProject,
java.util.function.BiFunction<java.lang.String,java.lang.Object,T> pFunction)
Pass the XSL parameter for the project root directory path to a function.
|
boolean |
checkUpToDate()
Check if the report is up to date with respect to its XML input.
|
java.io.File |
getXslFile()
Get the XSL file that will be used to transform the XML input.
|
void |
setXslFile(java.lang.Object pFile)
Set the file containing the style sheet to use when transforming the XML input.
|
void |
transform()
Transform the report's XML input using the XSL style sheet specified for this report and
write the result to this report's destination.
|
getOutputLocation, getOutputTypesetDestination, setDestination, setEnabled, setEnabled@InputFile @Optional java.io.File getXslFile()
void setXslFile(java.lang.Object pFile)
pFile - The file specification, will be resolved using Project.file().boolean checkUpToDate()
void transform()
static <T> T applyProjectRootXslParameter(org.gradle.api.Project pProject,
java.util.function.BiFunction<java.lang.String,java.lang.Object,T> pFunction)
T - The return type of the function.pProject - The project to get the root directory path from.pFunction - The function to pass the XSL parameter name and root directory path to.