Interface ImportExportManager


public interface ImportExportManager
Module-author SPI for the gateway import/export system (.gwex files), reachable via GatewayContext.getImportExportManager().

Two related extension points live alongside this interface:

  • Method Details

    • registerContributor

      void registerContributor(ImportExportContributor contributor) throws IllegalStateException
      Register an ImportExportContributor with the import/export system. The contributor will appear as a selectable item in the export tree and will be invoked during export/import operations when selected.

      The contributor's ID must be unique across all contributors and must be a non-empty, downward-only relative path segment (no leading /, no .. sequences). The ID is used as a directory name inside the .gwex archive, so this restriction prevents path-traversal escapes.

      Parameters:
      contributor - the contributor to register.
      Throws:
      IllegalStateException - if a contributor with the same ID is already registered, or if the contributor's ID is empty, blank, or contains a path-traversal sequence.