Class DefaultSiteMigrator

java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.DefaultSiteMigrator
All Implemented Interfaces:
SiteMigrator, org.springframework.beans.factory.DisposableBean

public class DefaultSiteMigrator extends Object implements SiteMigrator, org.springframework.beans.factory.DisposableBean
  • Constructor Details

  • Method Details

    • getNumberOfThreads

      public static int getNumberOfThreads()
    • getBatchSize

      public static int getBatchSize()
    • migrateSite

      public ExceptionReport migrateSite() throws MigrationException
      Description copied from interface: SiteMigrator
      Migrate the entire site. Only one migration can be in progress at any time.
      Specified by:
      migrateSite in interface SiteMigrator
      Throws:
      MigrationException - wrapping any exceptions which occur during the migration
    • isSiteMigrationInProgress

      public boolean isSiteMigrationInProgress()
      Specified by:
      isSiteMigrationInProgress in interface SiteMigrator
      Returns:
      if a migration is currently in progress
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception