Class AbstractMarketplaceImpexRunnerTask
java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.task.AbstractImpexRunnerTask
de.hybris.platform.marketplaceservices.dataimport.batch.task.AbstractMarketplaceImpexRunnerTask
- All Implemented Interfaces:
HeaderTask
Impex runner task for marketplace, add the functionality to create log files
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateLogMsg(List<ImportResult> results) execute(BatchHeader header) Executes a task with a predefinedBatchHeaderidentifying all relevant process information.protected voidlog(List<ImportResult> results, File target) protected ImportResultMethods inherited from class de.hybris.platform.acceleratorservices.dataimport.batch.task.AbstractImpexRunnerTask
getHeaderTaskConfig, getImportConfig, getImportService, getSessionService, processFile, setHeaderTaskConfig, setImportService, setSessionService
-
Field Details
-
DATE_SEPARATOR
- See Also:
-
LOG_DIRECTORY
- See Also:
-
LOG_DEFAULT_SUCCESS_MSG
- See Also:
-
-
Constructor Details
-
AbstractMarketplaceImpexRunnerTask
public AbstractMarketplaceImpexRunnerTask()
-
-
Method Details
-
execute
Description copied from interface:HeaderTaskExecutes a task with a predefinedBatchHeaderidentifying all relevant process information.- Specified by:
executein interfaceHeaderTask- Overrides:
executein classAbstractImpexRunnerTask- Returns:
- the header
- Throws:
FileNotFoundException
-
process
- Throws:
FileNotFoundException
-
log
-
createLogMsg
-