com.atlassian.confluence.util
Class BandanaConfigMigrator

java.lang.Object
  extended by com.atlassian.confluence.util.BandanaConfigMigrator

public class BandanaConfigMigrator
extends java.lang.Object

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


Field Summary
static org.apache.log4j.Logger log
          Deprecated. 
 
Constructor Summary
BandanaConfigMigrator()
           
 
Method Summary
 void run()
          Migrate the configuration in the Confluence home config/ directory.
 void run(java.io.File baseConfigPath)
          Migrate the configuration in the nominated directory.
 void setBandanaPersister(com.atlassian.bandana.BandanaPersister persister)
           
 void setxStreamManager(XStreamManager xStreamManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

@Deprecated
public static final org.apache.log4j.Logger log
Deprecated. 
Constructor Detail

BandanaConfigMigrator

public BandanaConfigMigrator()
Method Detail

run

public void run()
Migrate the configuration in the Confluence home config/ directory.


run

public void run(java.io.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.

setBandanaPersister

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

setxStreamManager

public void setxStreamManager(XStreamManager xStreamManager)


Copyright © 2003-2010 Atlassian. All Rights Reserved.