@Version("1.0.0")
Package aQute.bnd.service.reporter
ReportGeneratorService
and
ReportExporterService
The ReportGeneratorService
service allows
to generate a reports of any objects. A report is a Map
whose keys
are an entry in the report and values are the DTO values extracted from a
source object. This service can be extended by implementing the
ReportEntryPlugin
interface for a specific
object type.
The ReportExporterService
service allows
to export a report generated by the
ReportGeneratorService
service into a
stream. The report will be serialized into a specific format and can
optionally be transformed by a template engine. This service can be extended
by implementing the ReportSerializerPlugin
and the ReportTransformerPlugin
interfaces
respectively to support additional serialization format and additional
template engine.
-
Interface Summary Interface Description ReportEntryPlugin<T> This plugin extracts a piece of information (potentially localized) from a source object and converts it into a DTO representation.ReportExporterService This plugin can export a report generated by theReportGeneratorService
service.ReportGeneratorService This plugin can generate a DTO report of an arbitrary object.ReportSerializerPlugin This plugin serialize the extracted DTO report into a specific format.ReportTransformerPlugin This plugin transform an input model by applying a template on it.