public class MacroMigrationService extends Object
Constructor and Description |
---|
MacroMigrationService(XhtmlWikiMarkupMacroMigrator migrator,
SearchManager searchManager,
ContentDao contentDao,
LongRunningTaskManager longRunningTaskManager,
org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
com.atlassian.bandana.BandanaManager bandanaManager,
ConfluenceIndexer indexer) |
Modifier and Type | Method and Description |
---|---|
SearchResults |
findPagesWithUnmigratedMacros(int maxResults) |
protected SearchResults |
findPagesWithUnmigratedMacros(ResultFilter filter) |
LongRunningTaskId |
getLastMigrationId() |
boolean |
isAdminTaskIgnored() |
boolean |
isMigrating() |
boolean |
isMigrationRequired() |
LongRunningTaskId |
migrateAll()
Attempt to migrate all instances of the unmigrated wiki markup macro to the new xhtml format.
|
void |
setAdminTaskIgnored(boolean ignoreIt) |
void |
updateMigrationRequired() |
public MacroMigrationService(XhtmlWikiMarkupMacroMigrator migrator, SearchManager searchManager, ContentDao contentDao, LongRunningTaskManager longRunningTaskManager, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, com.atlassian.bandana.BandanaManager bandanaManager, ConfluenceIndexer indexer)
@Nullable public LongRunningTaskId migrateAll() throws InvalidSearchException
InvalidSearchException
public boolean isMigrating()
public LongRunningTaskId getLastMigrationId()
public SearchResults findPagesWithUnmigratedMacros(int maxResults) throws InvalidSearchException
InvalidSearchException
protected SearchResults findPagesWithUnmigratedMacros(ResultFilter filter) throws InvalidSearchException
InvalidSearchException
public void updateMigrationRequired()
public boolean isMigrationRequired()
public void setAdminTaskIgnored(boolean ignoreIt)
public boolean isAdminTaskIgnored()
Copyright © 2003–2016 Atlassian. All rights reserved.