Class TrashDatePostImportTask

java.lang.Object
com.atlassian.confluence.internal.importexport.TrashDatePostImportTask
All Implemented Interfaces:
PostImportTask

public class TrashDatePostImportTask extends Object implements PostImportTask
Set trash date for imported content after a space/site import
Since:
7.14
  • Constructor Details

    • TrashDatePostImportTask

      public TrashDatePostImportTask(TrashManagerInternal trashManagerInternal)
  • Method Details

    • 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.