com.atlassian.confluence.content.render.xhtml.migration.macro
Class MigrationRequiredListener
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.macro.MigrationRequiredListener
public class MigrationRequiredListener
- extends Object
Listens for plugin enabled events and requests the macro migration service to
update the migration required flag when one is encounted. This allows for the
case when macros with wiki markup bodies are upgraded post 4.0 migration to ones
with xhtml bodies.
Method Summary |
void |
handlePluginInstalledEvent(com.atlassian.plugin.event.events.PluginModuleEnabledEvent e)
Handle a plugin installed event, ask the service to update the migration required field,
so that the next time the system is restarted the migration is performed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigrationRequiredListener
public MigrationRequiredListener(MacroMigrationService macroMigrationService)
handlePluginInstalledEvent
@EventListener
public void handlePluginInstalledEvent(com.atlassian.plugin.event.events.PluginModuleEnabledEvent e)
- Handle a plugin installed event, ask the service to update the migration required field,
so that the next time the system is restarted the migration is performed.
Copyright © 2003-2012 Atlassian. All Rights Reserved.