Class KeyInitPostImportTask

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

@Deprecated public class KeyInitPostImportTask extends Object implements PostImportTask
Deprecated.
since 7.17.0.
Ensures Confluence has system key pairs after a site import.
  • Constructor Details

    • KeyInitPostImportTask

      public KeyInitPostImportTask(KeyPairInitialiser keyPairInitialiser)
      Deprecated.
  • Method Details

    • execute

      public void execute(ImportContext context) throws ImportExportException
      Deprecated.
      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.