com.atlassian.bamboo.migration
Class XmlMigrator

java.lang.Object
  extended by com.atlassian.bamboo.migration.XmlMigrator

public class XmlMigrator
extends Object


Constructor Summary
XmlMigrator(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)
           
 
Method Summary
 void exportXml(ExportDetailsBean exportDetails)
           
 AdministrationConfiguration getAdministrationConfiguration()
           
 void importXml(String path, boolean clearArtifacts)
           
 void importXmlOsgiDependent(String path)
           
 void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)
           
 void setBandanaPersister(com.atlassian.bandana.BandanaPersister bandanaPersister)
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setCacheManager(com.atlassian.cache.CacheManager cacheManager)
           
 void setExporters(List<BambooRootMapper> exporters)
           
 void setHeaderImporters(List<BambooRootMapper> headerImporters)
           
 void setImporters(List<BambooRootMapper> importers)
           
 void setOsgiDependentImporters(List<BambooRootMapper> osgiDependentImporters)
           
 void setPersister(Persister persister)
           
 void setResettableHiLoGeneratorHelper(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resettableHiLoGeneratorHelper)
           
 void setSchemaHelper(BambooSchemaHelper schemaHelper)
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 void setUpgradeUtilityBean(UpgradeUtilityBean upgradeUtilityBean)
           
 void validateXml(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlMigrator

public XmlMigrator(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)
Method Detail

importXml

public void importXml(String path,
                      boolean clearArtifacts)
               throws Exception
Throws:
Exception

importXmlOsgiDependent

public void importXmlOsgiDependent(String path)
                            throws Exception
Throws:
Exception

exportXml

public void exportXml(@NotNull
                      ExportDetailsBean exportDetails)
               throws Exception
Throws:
Exception

validateXml

public void validateXml(String path)
                 throws Exception
Throws:
Exception

getAdministrationConfiguration

public AdministrationConfiguration getAdministrationConfiguration()

setBootstrapManager

public void setBootstrapManager(BootstrapManager bootstrapManager)

setExporters

public void setExporters(List<BambooRootMapper> exporters)

setHeaderImporters

public void setHeaderImporters(List<BambooRootMapper> headerImporters)

setImporters

public void setImporters(List<BambooRootMapper> importers)

setOsgiDependentImporters

public void setOsgiDependentImporters(List<BambooRootMapper> osgiDependentImporters)

setSchemaHelper

public void setSchemaHelper(BambooSchemaHelper schemaHelper)

setCacheManager

public void setCacheManager(com.atlassian.cache.CacheManager cacheManager)

setSessionFactory

public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)

setPersister

public void setPersister(Persister persister)

setResettableHiLoGeneratorHelper

public void setResettableHiLoGeneratorHelper(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resettableHiLoGeneratorHelper)

setApplicationConfig

public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)

setUpgradeUtilityBean

public void setUpgradeUtilityBean(UpgradeUtilityBean upgradeUtilityBean)

setBandanaPersister

public void setBandanaPersister(com.atlassian.bandana.BandanaPersister bandanaPersister)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.