com.atlassian.crowd.migration.legacy
Class CrowdConfigMapper

java.lang.Object
  extended by com.atlassian.crowd.migration.CrowdConfigMapper
      extended by com.atlassian.crowd.migration.legacy.CrowdConfigMapper
All Implemented Interfaces:
LegacyImporter, Mapper

public class CrowdConfigMapper
extends CrowdConfigMapper
implements LegacyImporter

This class extends the current 2.x CrowdConfigMapper because configuration mapping is 100% backwards-compatible in XML.


Field Summary
 
Fields inherited from class com.atlassian.crowd.migration.CrowdConfigMapper
CONFIG_XML_NAME, CONFIG_XML_NODE, CONFIG_XML_ROOT, CONFIG_XML_VALUE, propertiesToMap
 
Constructor Summary
CrowdConfigMapper(CrowdBootstrapManager bootstrapManager)
           
 
Method Summary
 void importXml(org.dom4j.Element root, LegacyImportDataHolder importData)
          Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML.
 
Methods inherited from class com.atlassian.crowd.migration.CrowdConfigMapper
exportXml, getBootstrapManager, importXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdConfigMapper

public CrowdConfigMapper(CrowdBootstrapManager bootstrapManager)
Method Detail

importXml

public void importXml(org.dom4j.Element root,
                      LegacyImportDataHolder importData)
               throws ImportException
Description copied from interface: LegacyImporter
Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML.

Specified by:
importXml in interface LegacyImporter
Parameters:
root - root XML element.
importData - stores significant import results.
Throws:
ImportException


Copyright © 2010 Atlassian. All Rights Reserved.