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.
-
InterfacesClassDescriptionThis plugin extracts a piece of information (potentially localized) from a source object and converts it into a DTO representation.This plugin can export a report generated by the
ReportGeneratorService
service.This plugin can generate a DTO report of an arbitrary object.This plugin serialize the extracted DTO report into a specific format.This plugin transform an input model by applying a template on it.