Package com.atlassian.bamboo.migration
Class XmlMigrator
- java.lang.Object
-
- com.atlassian.bamboo.migration.XmlMigrator
-
public class XmlMigrator extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlMigrator(BambooTransactionHibernateTemplate bambooTransactionHibernateTemplate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>
createForeignKeys(org.hibernate.Session session, DbmsBean dbmsBean)
void
exportXml(@NotNull 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
setSchemaHelper(BambooSchemaHelper schemaHelper)
void
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
void
setUpgradeUtilityBean(UpgradeUtilityBean upgradeUtilityBean)
void
validateXml(String path)
-
-
-
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 @NotNull ExportDetailsBean exportDetails) 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)
-
setApplicationConfig
public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)
-
setUpgradeUtilityBean
public void setUpgradeUtilityBean(UpgradeUtilityBean upgradeUtilityBean)
-
setBandanaPersister
public void setBandanaPersister(com.atlassian.bandana.BandanaPersister bandanaPersister)
-
-