Class AbstractImpexRunnerTask
java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.task.AbstractImpexRunnerTask
- All Implemented Interfaces:
HeaderTask
- Direct Known Subclasses:
AbstractMarketplaceImpexRunnerTask
Task that imports an impex file by executing impex.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(BatchHeader header) Executes a task with a predefinedBatchHeaderidentifying all relevant process information.abstract ImportConfigLookup method to return the import configprotected voidprocessFile(File file, String encoding) Process an impex file using the given encodingvoidsetHeaderTaskConfig(HeaderTaskConfig headerTaskConfig) voidsetImportService(ImportService importService) voidsetSessionService(SessionService sessionService)
-
Constructor Details
-
AbstractImpexRunnerTask
public AbstractImpexRunnerTask()
-
-
Method Details
-
execute
Description copied from interface:HeaderTaskExecutes a task with a predefinedBatchHeaderidentifying all relevant process information.- Specified by:
executein interfaceHeaderTask- Returns:
- the header
- Throws:
FileNotFoundException
-
processFile
Process an impex file using the given encoding- Parameters:
file-encoding-- Throws:
FileNotFoundException
-
getSessionService
-
setSessionService
-
getImportService
-
setImportService
-
getImportConfig
Lookup method to return the import config- Returns:
- import config
-
setHeaderTaskConfig
-
getHeaderTaskConfig
-