public class RemigrationLifecycleItem
extends java.lang.Object
implements com.atlassian.config.lifecycle.LifecycleItem
Constructor and Description |
---|
RemigrationLifecycleItem() |
Modifier and Type | Method and Description |
---|---|
void |
setEventPublisher(com.atlassian.event.api.EventPublisher publisher) |
void |
setMacroMigrationService(MacroMigrationService migrationService) |
void |
setMigrationRequiredListener(MigrationRequiredListener listener) |
void |
shutdown(com.atlassian.config.lifecycle.LifecycleContext context) |
void |
startup(com.atlassian.config.lifecycle.LifecycleContext context)
registers the migration required listener to listen for any plugin enabled events that happen after
startup, also runs the remigration if necessary.
|
public void startup(com.atlassian.config.lifecycle.LifecycleContext context) throws java.lang.Exception
startup
in interface com.atlassian.config.lifecycle.LifecycleItem
java.lang.Exception
public void shutdown(com.atlassian.config.lifecycle.LifecycleContext context) throws java.lang.Exception
shutdown
in interface com.atlassian.config.lifecycle.LifecycleItem
java.lang.Exception
public void setMigrationRequiredListener(MigrationRequiredListener listener)
public void setMacroMigrationService(MacroMigrationService migrationService)
public void setEventPublisher(com.atlassian.event.api.EventPublisher publisher)
Copyright © 2003-2014 Atlassian. All Rights Reserved.