package net.sourceforge.cobertura.reporting;

import net.sourceforge.cobertura.dsl.ReportFormat;

Report that contains metrics calculated on data.
/** * Report that contains metrics calculated on data. */
public interface Report {
Uses the given ReportFormatStrategy to export report data.
Params:
  • reportFormat – - a report format value, never null
/** * Uses the given ReportFormatStrategy to export report data. * @param reportFormat - a report format value, * never <code>null</code> */
void export(ReportFormat reportFormat); ReportName getName();
Returns a given report or a NullReport instance if no report is found.
Params:
  • name –
Returns:
/** * Returns a given report or a NullReport instance if no report is found. * @param name * @return */
Report getByName(ReportName name); }