com.atlassian.confluence.content.render.xhtml.migration.macro
Class JiraIssueMacroServerParamsMigrator
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.macro.JiraIssueMacroServerParamsMigrator
public class JiraIssueMacroServerParamsMigrator
- extends java.lang.Object
Searches for all usages of the JIRA Issue macro and stores an additional identifier for the application link ('serverId').
It's important to only add these params when an applink matching the name stored in the macro params can be found. This enables
the upgrade task to be re-run to fix existing macro usages that were previously broken.
- See Also:
JiraIssueMacroServerParamsUpgradeTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraIssueMacroServerParamsMigrator
public JiraIssueMacroServerParamsMigrator(SearchManager searchManager,
org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
ContentDao contentDao,
XhtmlContent xhtmlContent,
com.atlassian.applinks.api.ApplicationLinkService applinkService)
migrate
public void migrate()
throws MigrationException
- Throws:
MigrationException
Copyright © 2003-2013 Atlassian. All Rights Reserved.