com.atlassian.confluence.content.render.xhtml.migration
Class DefaultWikiToXhtmlSiteMigrator
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator
- All Implemented Interfaces:
- WikiToXhtmlSiteMigrator
public class DefaultWikiToXhtmlSiteMigrator
- extends Object
- implements WikiToXhtmlSiteMigrator
Field Summary |
static int |
BATCH_SIZE
The size of each batch. |
static int |
NUM_THREADS
The number of conversion threads that may be running concurrently. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_THREADS
public static final int NUM_THREADS
- The number of conversion threads that may be running concurrently.
- See Also:
- Constant Field Values
BATCH_SIZE
public static final int BATCH_SIZE
- The size of each batch. Configurable through system property
confluence.migration.batch.size
.
- See Also:
- Constant Field Values
DefaultWikiToXhtmlSiteMigrator
public DefaultWikiToXhtmlSiteMigrator(int batchSize,
int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
org.quartz.Scheduler scheduler,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
PageTemplateDao pageTemplateDao,
SettingsManager settingsManager,
com.atlassian.cache.CacheManager cacheManager)
migrateSite
public ExceptionReport migrateSite()
throws MigrationException
- Description copied from interface:
WikiToXhtmlSiteMigrator
- Migrate the entire site from wiki to Xhtml storage. Only one migration can be in progress at any time.
- Specified by:
migrateSite
in interface WikiToXhtmlSiteMigrator
- Throws:
MigrationException
- wrapping any exceptions which occur during the migration
isSiteMigrationInProgress
public boolean isSiteMigrationInProgress()
- Specified by:
isSiteMigrationInProgress
in interface WikiToXhtmlSiteMigrator
- Returns:
- if a migration is currently in progress
Copyright © 2003-2013 Atlassian. All Rights Reserved.