|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.migration.macro.MigrationRequiredListener
public class MigrationRequiredListener
Listens for plugin enabled events and requests the macro migration service to update the migration required flag when one is encountered. This allows for the case when macros with wiki markup bodies are upgraded post 4.0 migration to ones with xhtml bodies. This also handles migrating XHTML v1 storage format macros to v2, and so on.
Constructor Summary | |
---|---|
MigrationRequiredListener(MacroMigrationService macroMigrationService)
|
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 |
Constructor Detail |
---|
public MigrationRequiredListener(MacroMigrationService macroMigrationService)
Method Detail |
---|
@EventListener public void handlePluginInstalledEvent(com.atlassian.plugin.event.events.PluginModuleEnabledEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |