com.atlassian.crowd.migration
Class XmlMigrator
java.lang.Object
com.atlassian.crowd.migration.XmlMigrator
public class XmlMigrator
- extends java.lang.Object
This class manages the import and export of Crowd's entity type's via Mapper's
Each mapper has an exportXML() that process's each entity and writes all required relationship to an
XML element that is then returned to this class to be finally written to disk (on export).
The mapper's importXML() will take the XML document produced from an export and create the entities it is
responsible for and create each entity in the datastore.
User: Justin
Date: 16/02/2007
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlMigrator
public XmlMigrator()
exportXml
public void exportXml(org.dom4j.Element root,
java.util.Map options)
throws java.lang.Exception
- Throws:
java.lang.Exception
importXml
public void importXml(org.dom4j.Element root)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMappers
public void setMappers(java.util.List<Mapper> mappers)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.