com.atlassian.studio.confluence.common.lifecycle
Class ConfluenceMaintainerTemplate

java.lang.Object
  extended by com.atlassian.studio.confluence.common.listener.ConfluenceImportListenerTemplate
      extended by com.atlassian.studio.confluence.common.lifecycle.ConfluenceMaintainerTemplate
All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
WebSudoMaintainer

public abstract class ConfluenceMaintainerTemplate
extends ConfluenceImportListenerTemplate
implements com.atlassian.sal.api.lifecycle.LifecycleAware

Template for components which need to be informed on start and after an import, e.g. change a settings entry.


Field Summary
 
Fields inherited from class com.atlassian.studio.confluence.common.listener.ConfluenceImportListenerTemplate
eventPublisher
 
Constructor Summary
ConfluenceMaintainerTemplate(com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void afterImport(ImportFinishedEvent event)
           
abstract  void maintain()
           
 void onStart()
           
 
Methods inherited from class com.atlassian.studio.confluence.common.listener.ConfluenceImportListenerTemplate
afterPropertiesSet, destroy, listenForImportFinishedEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceMaintainerTemplate

public ConfluenceMaintainerTemplate(com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

onStart

public void onStart()
Specified by:
onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAware

afterImport

public void afterImport(ImportFinishedEvent event)
Specified by:
afterImport in class ConfluenceImportListenerTemplate

maintain

public abstract void maintain()


Copyright © 2003–2015 Atlassian. All rights reserved.