com.atlassian.studio.jira.lifecycle
Class GoogleIntegrationInitialiser

java.lang.Object
  extended by com.atlassian.studio.jira.lifecycle.GoogleIntegrationInitialiser
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class GoogleIntegrationInitialiser
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Perfoms all initialisation tasks for Google Integrations (and rollback of Google Integration).

Since:
2.2

Constructor Summary
GoogleIntegrationInitialiser(ApplicationProperties jiraApplicationProperties, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.agmp.integration.common.GooglePropertiesSetter googlePropertiesSetter, com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.studio.host.common.StudioInfo studioInfo, com.atlassian.studio.core.setup.TrustedAppsMaintainer trustedAppsMaintainer)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void disableGoogleIntegration(com.atlassian.studio.common.google.GooglePropertiesNotSetEvent event)
           
 void enableGoogleIntegration(com.atlassian.studio.common.google.GooglePropertiesSetEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleIntegrationInitialiser

public GoogleIntegrationInitialiser(ApplicationProperties jiraApplicationProperties,
                                    com.atlassian.plugin.event.PluginEventManager pluginEventManager,
                                    com.atlassian.agmp.integration.common.GooglePropertiesSetter googlePropertiesSetter,
                                    com.atlassian.sal.api.ApplicationProperties applicationProperties,
                                    com.atlassian.studio.host.common.StudioInfo studioInfo,
                                    com.atlassian.studio.core.setup.TrustedAppsMaintainer trustedAppsMaintainer)
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

disableGoogleIntegration

public void disableGoogleIntegration(com.atlassian.studio.common.google.GooglePropertiesNotSetEvent event)

enableGoogleIntegration

public void enableGoogleIntegration(com.atlassian.studio.common.google.GooglePropertiesSetEvent event)


Copyright © 2002-2012 Atlassian. All Rights Reserved.