Class ClearReIndexJobPostImportTask

  • All Implemented Interfaces:
    PostImportTask

    public class ClearReIndexJobPostImportTask
    extends Object
    implements PostImportTask
    Delete re-index job history from Bandana after import
    Since:
    7.6.0
    • Constructor Detail

      • ClearReIndexJobPostImportTask

        public ClearReIndexJobPostImportTask​(ReIndexJobPersister persister)
    • Method Detail

      • execute

        public void execute​(ImportContext context)
                     throws ImportExportException
        Description copied from interface: PostImportTask
        Perform any necessary clean-up to ensure the imported data is internally consistent.
        Specified by:
        execute in interface PostImportTask
        Parameters:
        context - the context of the import which has just finished
        Throws:
        ImportExportException - if there was a problem with this task that should mean aborting the import entirely. Most implementations should not throw any exceptions, but rather log an error and allow the import to continue.