public class

MigrationRequiredListener

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.migration.macro.MigrationRequiredListener

Class Overview

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.

Summary

Public Constructors
MigrationRequiredListener(MacroMigrationService macroMigrationService)
Public Methods
@EventListener void handlePluginInstalledEvent(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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MigrationRequiredListener (MacroMigrationService macroMigrationService)

Public Methods

@EventListener public void handlePluginInstalledEvent (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.