com.atlassian.bamboo.migration.stream
Class LegacyProjectDependencyMapper
java.lang.Object
com.atlassian.bamboo.migration.stream.LegacyProjectDependencyMapper
- All Implemented Interfaces:
- BambooStAXRootMapper
public class LegacyProjectDependencyMapper
- extends java.lang.Object
- implements BambooStAXRootMapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyProjectDependencyMapper
public LegacyProjectDependencyMapper(net.sf.hibernate.SessionFactory sessionFactory,
PlanManager planManager,
PlanDependencyManager planDependencyManager)
isShouldExport
public boolean isShouldExport(@NotNull
ExportDetailsBean exportDetailsBean)
- Specified by:
isShouldExport
in interface BambooStAXRootMapper
getXmlRootNodeName
@NotNull
public java.lang.String getXmlRootNodeName()
- Description copied from interface:
BambooStAXRootMapper
- Returns local name of the XML parent node handled by this mapper
- Specified by:
getXmlRootNodeName
in interface BambooStAXRootMapper
- Returns:
- local name of the XML parent node
exportData
public void exportData(@NotNull
org.codehaus.staxmate.out.SMOutputElement outputElement,
ExportDetailsBean exportDetailsBean)
throws java.lang.Exception
- Description copied from interface:
BambooStAXRootMapper
- Perform data export
- Specified by:
exportData
in interface BambooStAXRootMapper
- Parameters:
outputElement
- parent node for mapper's root node, usually root element of the XML file
- Throws:
java.lang.Exception
- when something went wrong
importData
public void importData(@NotNull
org.codehaus.staxmate.in.SMInputCursor inputCursor)
throws java.lang.Exception
- Description copied from interface:
BambooStAXRootMapper
- Perform data import
- Specified by:
importData
in interface BambooStAXRootMapper
- Parameters:
inputCursor
- mapper's root node, usually child of root element of the XML file
- Throws:
java.lang.Exception
- when something went wrong
Copyright © 2012 Atlassian. All Rights Reserved.