java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.task.CleanupTask
All Implemented Interfaces:
HeaderTask

public class CleanupTask extends Object implements HeaderTask
Cleanup for the impex import process. Deletes the transformed file and moves the processed file to the archive directory.
  • Constructor Details

    • CleanupTask

      public CleanupTask()
  • Method Details

    • execute

      public BatchHeader execute(BatchHeader header)
      Description copied from interface: HeaderTask
      Executes a task with a predefined BatchHeader identifying all relevant process information.
      Specified by:
      execute in interface HeaderTask
      Returns:
      the header
    • setCleanupHelper

      public void setCleanupHelper(CleanupHelper cleanupHelper)
      Parameters:
      cleanupHelper - the cleanupHelper to set
    • getCleanupHelper

      protected CleanupHelper getCleanupHelper()
      Returns:
      the cleanupHelper