Interface DataExporter
- All Known Implementing Classes:
AbstractDataExporter
,HtmlTemplateExporter
,JsonExporter
public interface DataExporter
The Interface DataExporter represents an engine to export data from samples
consumption.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
export
(SampleContext context, File file, ReportGeneratorConfiguration configuration) Export data from the specified context using the given configuration.getName()
Gets the name of the exporter.void
Sets the name of the exporter.
-
Method Details
-
getName
String getName()Gets the name of the exporter.- Returns:
- the name of the exporter
-
setName
Sets the name of the exporter.- Parameters:
name
- the new name of the exporter
-
export
void export(SampleContext context, File file, ReportGeneratorConfiguration configuration) throws ExportException Export data from the specified context using the given configuration.- Parameters:
context
- the context (must not benull
)file
- the file which from samples come (must not benull
)configuration
- the configuration (must not benull
)- Throws:
ExportException
- the export exception
-