class DefaultFormatChoiceReport extends DefaultSingleFileReport
A FormatChoiceReport with a default destination.
| Constructor and description |
|---|
DefaultFormatChoiceReport
(Task pTask, java.lang.String pName, java.lang.String pDisplayName, java.lang.String pDefaultFormat, groovy.lang.Closure<java.io.File> pDefaultDestination)Create a new DefaultFormatChoiceReport. |
| Type | Name and description |
|---|---|
void |
addLegalFormats(java.lang.String... pFormats)Add a sequence of formats accepted by this report. |
java.lang.String |
getFormat() |
void |
setFormat(java.lang.String pFormat) |
| Methods inherited from class | Name |
|---|---|
class DefaultDestinationReport |
getDestination, setDestination |
Create a new DefaultFormatChoiceReport.
pTask - The task for which the report will be produced.pName - The report's symbolic name.pDisplayName - The report's display name.pDefaultFormat - The report's default format.pDefaultDestination - A closure that will return the report's default file destination
when called.