Class ImportManager

java.lang.Object
step.core.imports.ImportManager

public class ImportManager extends Object
  • Constructor Details

    • ImportManager

      public ImportManager(EntityManager entityManager, step.migration.MigrationManager migrationManager, step.core.Version currentVersion) throws IOException
      Throws:
      IOException
  • Method Details

    • importAll

      public ImportResult importAll(ImportConfiguration importConfig) throws Exception
      Import entities included in provided file
      Parameters:
      importConfig - import config object with all required details (source file, enricher...)
      Returns:
      the result of the import
      Throws:
      Exception