|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.migration.CrowdConfigMapper
com.atlassian.crowd.migration.legacy.CrowdConfigMapper
public class CrowdConfigMapper
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()
|
|
| Method Summary | |
|---|---|
void |
importXml(org.dom4j.Element root,
java.util.Map<java.lang.Long,java.lang.Long> oldToNewDirectoryIds)
Imports V1 (legacy Crowd 0.x.x and 1.x.x) XML. |
| Methods inherited from class com.atlassian.crowd.migration.CrowdConfigMapper |
|---|
exportXml, getBootstrapManager, importXml, setBootstrapManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrowdConfigMapper()
| Method Detail |
|---|
public void importXml(org.dom4j.Element root,
java.util.Map<java.lang.Long,java.lang.Long> oldToNewDirectoryIds)
throws java.lang.Exception
LegacyImporter
importXml in interface LegacyImporterroot - root XML element.oldToNewDirectoryIds - a map of directory IDs present in the XML file mapped to actual directory IDs saved in the database.
java.lang.Exception - error importing data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||