Class PageTemplateMigratorTask
- java.lang.Object
-
- org.springframework.transaction.support.TransactionCallbackWithoutResult
-
- com.atlassian.confluence.content.render.xhtml.migration.tasks.PageTemplateMigratorTask
-
- All Implemented Interfaces:
org.springframework.transaction.support.TransactionCallback<Object>
public final class PageTemplateMigratorTask extends org.springframework.transaction.support.TransactionCallbackWithoutResult
Performs migration of all Page Templates that match a given selector, by passing the templates' content through anExceptionTolerantMigrator
and storing the result as a new template version.
-
-
Constructor Summary
Constructors Constructor Description PageTemplateMigratorTask(ExceptionTolerantMigrator migrator, PageTemplateDao dao, PageTemplateManager pageTemplateManager, ExceptionReport report, Predicate<PageTemplate> migrationCandidateSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doInTransactionWithoutResult(org.springframework.transaction.TransactionStatus status)
-
-
-
Constructor Detail
-
PageTemplateMigratorTask
public PageTemplateMigratorTask(ExceptionTolerantMigrator migrator, PageTemplateDao dao, PageTemplateManager pageTemplateManager, ExceptionReport report, Predicate<PageTemplate> migrationCandidateSelector)
-
-