Class ExportBuilder
java.lang.Object
com.aquima.interactions.ds.export.r17.ExportBuilder
Class for generating exports.
- Since:
- 17.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExportBuilder
createApplicationExport
(ApplicationExportDS export, IResource privateKeyResource) Creates an Export Builder for an application zip export.static ExportBuilder
Creates an Export Builder for a composer xml export.getInfo()
Returns information about the export.void
writeToStream
(OutputStream outputStream) Writes the export to an output stream.
-
Method Details
-
createApplicationExport
public static ExportBuilder createApplicationExport(ApplicationExportDS export, IResource privateKeyResource) Creates an Export Builder for an application zip export.- Parameters:
export
- the application exportprivateKeyResource
- private key for signing the application Export- Returns:
- an ExportBuilder for an application zip export
-
createZip
public static ExportBuilder createZip(String exportName, IExportDS export, IResource privateKeyResource) Creates an Export Builder for a composer xml export.- Parameters:
exportName
- the composer exportexport
- the file to exportprivateKeyResource
- the key to sign the export with- Returns:
- an ExportBuilder for an composer xml export
-
getInfo
Returns information about the export.- Returns:
- information about the export
-
writeToStream
Writes the export to an output stream.- Parameters:
outputStream
- the output stream to write to.- Throws:
IOException
- unexpected IO exception
-