Package aQute.bnd.service.reporter
Interface ReportSerializerPlugin
@ProviderType
public interface ReportSerializerPlugin
This plugin serialize the extracted DTO report into a specific format.
-
Method Details
-
getHandledExtensions
String[] getHandledExtensions()Get the set of file extension names corresponding to the format that this plugin can serialize to.- Returns:
- one or multiple extensions name, never
null
-
serialize
Serialize the DTO report into the output stream.- Parameters:
reportDTO
- the DTO report to serialize, must not benull
output
- the output stream to write the serialization result, must not benull
- Throws:
Exception
- if any errors occur during the serialization process
-