Interface ImpExResourceFactory

  • All Known Implementing Classes:
    DataHubImpExResourceFactory

    public interface ImpExResourceFactory
    A service for creation of ImpEx resources
    • Method Detail

      • createResource

        ImpExResource createResource​(ItemImportTaskData ctx)
                              throws ImpExException
        Creates an import resource for the specified import context.
        Parameters:
        ctx - context of the import task, which contains content to import and any information relevant to the import process.
        Returns:
        a resource to load into the system.
        Throws:
        ImpExException - if the context does not contain a valid ImpEx script.