com.atlassian.bamboo.migration.stream
Class LegacyProjectDependencyMapper

java.lang.Object
  extended by com.atlassian.bamboo.migration.stream.LegacyProjectDependencyMapper
All Implemented Interfaces:
BambooStAXRootMapper

public class LegacyProjectDependencyMapper
extends java.lang.Object
implements BambooStAXRootMapper


Constructor Summary
LegacyProjectDependencyMapper(net.sf.hibernate.SessionFactory sessionFactory, PlanManager planManager, PlanDependencyManager planDependencyManager)
           
 
Method Summary
 void exportData(org.codehaus.staxmate.out.SMOutputElement outputElement)
          Perform data export
 java.lang.String getXmlRootNodeName()
          Returns local name of the XML parent node handled by this mapper
 void importData(org.codehaus.staxmate.in.SMInputCursor inputCursor)
          Perform data import
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyProjectDependencyMapper

public LegacyProjectDependencyMapper(net.sf.hibernate.SessionFactory sessionFactory,
                                     PlanManager planManager,
                                     PlanDependencyManager planDependencyManager)
Method Detail

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)
                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 © 2011 Atlassian. All Rights Reserved.