Class ImportFinishedListener
- java.lang.Object
-
- com.atlassian.sal.confluence.upgrade.ImportFinishedListener
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class ImportFinishedListener extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
This class listens for ImportFinishedEvent and triggers plugin upgrades when site import has been performed.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description ImportFinishedListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, com.atlassian.sal.api.upgrade.PluginUpgradeManager pluginUpgradeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
void
onImportFinishedEvent(ImportFinishedEvent event)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
onImportFinishedEvent
@EventListener public void onImportFinishedEvent(ImportFinishedEvent event)
-
-