Package step.core.imports
Class ImportManager
- java.lang.Object
-
- step.core.imports.ImportManager
-
public class ImportManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ImportManager(EntityManager entityManager, MigrationManager migrationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportResult
importAll(ImportConfiguration importConfig)
Import entities included in provided file
-
-
-
Constructor Detail
-
ImportManager
public ImportManager(EntityManager entityManager, MigrationManager migrationManager) throws IOException
- Throws:
IOException
-
-
Method Detail
-
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
-
-