public class

RemigrationLifecycleItem

extends Object
implements LifecycleItem
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.migration.macro.RemigrationLifecycleItem

Class Overview

Lifecycle item to run a remigration of pages that have unmigrated wiki markup macros, this is only performed if the service deems it is required. Also enabled the migrationRequiredListener to listen for new plugin enabled events now that confluence has started up.

Summary

Public Constructors
RemigrationLifecycleItem()
Public Methods
void setEventPublisher(EventPublisher publisher)
void setMacroMigrationService(MacroMigrationService migrationService)
void setMigrationRequiredListener(MigrationRequiredListener listener)
void shutdown(LifecycleContext context)
void startup(LifecycleContext context)
registers the migration required listener to listen for any plugin enabled events that happen after startup, also runs the remigration if necessary.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.config.lifecycle.LifecycleItem

Public Constructors

public RemigrationLifecycleItem ()

Public Methods

public void setEventPublisher (EventPublisher publisher)

public void setMacroMigrationService (MacroMigrationService migrationService)

public void setMigrationRequiredListener (MigrationRequiredListener listener)

public void shutdown (LifecycleContext context)

Throws
Exception

public void startup (LifecycleContext context)

registers the migration required listener to listen for any plugin enabled events that happen after startup, also runs the remigration if necessary.

Throws
Exception