public interface Exporter
Exporteris used to export data from the repository (normally provided by
ExtractExportDataProcess) to a specific location or 3rd-party service.
|Modifier and Type||Field and Description|
Service name under which Exporter services are to be registered (value is "com.adobe.cq.scheduled.exporter.Exporter").
The name of the service property defining the exporter type for the exporter (value is "exporter.type").
|Modifier and Type||Method and Description|
This method is called to export data from the given
static final java.lang.String SERVICE_NAME
static final java.lang.String TYPE_PROPERTY
This service property may be a single string value. The service is registered for all types provided by this property.
If this service property is missing, empty or not one of the listed types, the service cannot be used and is therefore ignored.
void exportData(Resource config, Resource source) throws ExportException
config- Configuration resource of this exporter
Resourceholding the data to export. If the resource does not exist or is not accessible the
sourceis of type
ExportException- may be thrown in case of problems accessing, transforming or actually exporting the data. If the failure is caused by an exception, this exception (
Throwable) should be made available as the cause of this exception.
Copyright © 2010 - 2020 Adobe. All Rights Reserved