Package com.atlassian.confluence.util
Class BandanaConfigMigrator
java.lang.Object
com.atlassian.confluence.util.BandanaConfigMigrator
Migrates Confluence global and space configuration data from the file system into the database Specifically, the
confluence-global.bandana.xml file and space config data contained in directories underneath the 'config' folder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Migrate the configuration in the Confluence home config/ directory.voidMigrate the configuration in the nominated directory.voidsetBandanaPersister(BandanaPersister persister) voidsetxStreamManager(ConfluenceXStreamManager confluenceXStreamManager)
-
Constructor Details
-
BandanaConfigMigrator
public BandanaConfigMigrator()
-
-
Method Details
-
run
public void run()Migrate the configuration in the Confluence home config/ directory. -
run
Migrate the configuration in the nominated directory.- Parameters:
baseConfigPath- the root path of the Bandana configuration structure. Inside will be one file called confluence-global.bandana.xml, and a series of directories for each space's config.
-
setBandanaPersister
-
setxStreamManager
-