Package aQute.bnd.service.reporter
Interface ReportExporterService
-
@ProviderType public interface ReportExporterService
This plugin can export a report generated by theReportGeneratorService
service. The exported report can be serialized into a specific format and optionally be transformed by a template engine.The service can be extended by implementing the
ReportSerializerPlugin
and theReportTransformerPlugin
interfaces respectively to support additional serialization format and additional template engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,Resource>
exportReportsOf(java.lang.Object source)
Export the reports of the specified source object.java.util.List<java.lang.String>
getAvailableReportsOf(java.lang.Object source)
-
-
-
Method Detail
-
getAvailableReportsOf
java.util.List<java.lang.String> getAvailableReportsOf(java.lang.Object source)
- Parameters:
source
- the targeted source object to report, may benull
- Returns:
- the list of report destination file paths which can be extracted,
never
null
-
exportReportsOf
java.util.Map<java.lang.String,Resource> exportReportsOf(java.lang.Object source)
Export the reports of the specified source object.- Parameters:
source
- the source object to report, may benull
- Returns:
- a map whose key are the user defined destination file path and
value are the resulting report resource, never
null
-
-