Package com.atlassian.crowd.migration
Class CrowdConfigMapper
java.lang.Object
com.atlassian.crowd.migration.CrowdConfigMapper
- All Implemented Interfaces:
Mapper
- Direct Known Subclasses:
CrowdConfigMapper
Mapper implementation that will take the values from a Crowd instances
crowd.cfg.xml
and place this into Crowd XML export/import.
At the moment, this only manages the import/export of the serverID property.
The Server ID is exported and imported since a Server ID is tied to a dataset and not a physical server.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.Element
Exports to V2 XML.void
importXml
(org.dom4j.Element root) Imports V2 XML.
-
Field Details
-
CONFIG_XML_ROOT
- See Also:
-
CONFIG_XML_NODE
- See Also:
-
CONFIG_XML_NAME
- See Also:
-
CONFIG_XML_VALUE
- See Also:
-
propertiesToMap
-
-
Constructor Details
-
CrowdConfigMapper
-
-
Method Details
-
exportXml
Description copied from interface:Mapper
Exports to V2 XML.- Specified by:
exportXml
in interfaceMapper
- Parameters:
options
- map of arbitrarty options.- Returns:
- XML element, or null if you are not mapping
- Throws:
ExportException
- error producing XML.
-
importXml
Description copied from interface:Mapper
Imports V2 XML.- Specified by:
importXml
in interfaceMapper
- Parameters:
root
- root XML element.- Throws:
ImportException
- error importing data.
-
getBootstrapManager
-