public class

BandanaConfigMigrator

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.util.BandanaConfigMigrator

Class Overview

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

Summary

Fields
public static final Logger log
Public Constructors
BandanaConfigMigrator()
Public Methods
void run(File baseConfigPath)
Migrate the configuration in the nominated directory.
void run()
Migrate the configuration in the Confluence home config/ directory.
void setBandanaPersister(BandanaPersister persister)
void setxStreamManager(XStreamManager xStreamManager)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Logger log

Public Constructors

public BandanaConfigMigrator ()

Public Methods

public void run (File baseConfigPath)

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.

public void run ()

Migrate the configuration in the Confluence home config/ directory.

public void setBandanaPersister (BandanaPersister persister)

public void setxStreamManager (XStreamManager xStreamManager)