Schnittstelle Report

Alle Superschnittstellen:
Configurable<Report>
Alle bekannten Unterschnittstellen:
ConfigurableReport, CustomizableHtmlReport, DirectoryReport, JUnitXmlReport, SingleFileReport

public interface Report extends Configurable<Report>
A file based report to be created.

Tasks that produce reports expose instances of this type for configuration via the Reporting interface.

  • Felddetails

  • Methodendetails

    • getName

      @Input String getName()
      The symbolic name of this report.

      The name of the report usually indicates the format (e.g. XML, HTML etc.) but can be anything.

      When part of a 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
       
      Gibt zurück:
      The name of this report.
    • getDisplayName

      @Input String getDisplayName()
      A more descriptive name of this report. Used when the report is referenced for end users.
      Gibt zurück:
      A more descriptive name of this report.
    • getRequired

      @Input Property<Boolean> getRequired()
      A flag that determines whether this report should be generated or not.
      Seit:
      6.1
    • getOutputLocation

      @Internal("Implementations need to add the correct annotation, @OutputDirectory or @OutputFile") Property<? extends FileSystemLocation> getOutputLocation()
      The location on the filesystem to generate the report to.
      Seit:
      6.1
    • getOutputType

      @Input Report.OutputType getOutputType()
      The type of output that the report generates.
      Gibt zurück:
      The type of output that the report generates.