Class CleanupTask
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.dataimport.batch.task.CleanupTask
-
- All Implemented Interfaces:
HeaderTask
public class CleanupTask extends java.lang.Object implements HeaderTask
Cleanup for the impex import process. Deletes the transformed file and moves the processed file to the archive directory.
-
-
Constructor Summary
Constructors Constructor Description CleanupTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchHeaderexecute(BatchHeader header)Executes a task with a predefinedBatchHeaderidentifying all relevant process information.protected CleanupHelpergetCleanupHelper()voidsetCleanupHelper(CleanupHelper cleanupHelper)
-
-
-
Method Detail
-
execute
public BatchHeader execute(BatchHeader header)
Description copied from interface:HeaderTaskExecutes a task with a predefinedBatchHeaderidentifying all relevant process information.- Specified by:
executein interfaceHeaderTask- Returns:
- the header
-
setCleanupHelper
public void setCleanupHelper(CleanupHelper cleanupHelper)
- Parameters:
cleanupHelper- the cleanupHelper to set
-
getCleanupHelper
protected CleanupHelper getCleanupHelper()
- Returns:
- the cleanupHelper
-
-