Class DelegatingConverterWithEnrichment
java.lang.Object
com.atlassian.confluence.impl.backuprestore.backup.exporters.converters.DelegatingConverterWithEnrichment
- All Implemented Interfaces:
Converter
Generic converter wrapper that delegates conversion to an underlying
Converter
and then applies a set of enrichments. Useful when the base converter is not a
CommonDatabaseDataConverter but we still want to enrich the output.-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingConverterWithEnrichment(Converter delegate, ExportableEntityInfo defaultEntityInfo, List<ExportObjectsEnrichment> enrichments) -
Method Summary
Modifier and TypeMethodDescriptionconvertToObjectsReadyForSerialisation(List<DbRawObjectData> dbObjectsProperties) getEntityInfo(Class<?> exportedClass)
-
Constructor Details
-
DelegatingConverterWithEnrichment
public DelegatingConverterWithEnrichment(Converter delegate, ExportableEntityInfo defaultEntityInfo, List<ExportObjectsEnrichment> enrichments)
-
-
Method Details
-
convertToObjectsReadyForSerialisation
public List<EntityObjectReadyForExport> convertToObjectsReadyForSerialisation(List<DbRawObjectData> dbObjectsProperties) - Specified by:
convertToObjectsReadyForSerialisationin interfaceConverter
-
getEntityInfo
- Specified by:
getEntityInfoin interfaceConverter
-
getEntityInfo
- Specified by:
getEntityInfoin interfaceConverter
-