Class ExportBuilder

java.lang.Object
com.aquima.interactions.ds.export.r17.ExportBuilder

public final class ExportBuilder extends Object
Class for generating exports.
Since:
17.1
  • Method Details

    • createApplicationExport

      public static ExportBuilder createApplicationExport(ApplicationExportDS export, IResource privateKeyResource)
      Creates an Export Builder for an application zip export.
      Parameters:
      export - the application export
      privateKeyResource - 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 export
      export - the file to export
      privateKeyResource - the key to sign the export with
      Returns:
      an ExportBuilder for an composer xml export
    • getInfo

      public ExportInfo getInfo()
      Returns information about the export.
      Returns:
      information about the export
    • writeToStream

      public void writeToStream(OutputStream outputStream) throws IOException
      Writes the export to an output stream.
      Parameters:
      outputStream - the output stream to write to.
      Throws:
      IOException - unexpected IO exception