com.atlassian.bamboo.migration.stream
Class AbstractProjectDependencyMapper
java.lang.Object
com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl<T>
com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl<PlanDependency>
com.atlassian.bamboo.migration.stream.AbstractProjectDependencyMapper
- All Implemented Interfaces:
- BambooStAXMappingHelper<PlanDependency>, BambooStAXRootMapper
- Direct Known Subclasses:
- LegacyProjectDependencyMapper, ProjectDependencyMapper
public abstract class AbstractProjectDependencyMapper
- extends BambooStAXMappingListHelperAbstractImpl<PlanDependency>
- implements BambooStAXRootMapper
Methods inherited from class com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl |
commitClearSession, commitSession, createItemInstance, exportProperties, exportXml, exportXml, getSession, getSessionFactory, importProperties, importXml, importXml, saveBambooObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
planManager
protected PlanManager planManager
planDependencyManager
protected PlanDependencyManager planDependencyManager
AbstractProjectDependencyMapper
protected AbstractProjectDependencyMapper(net.sf.hibernate.SessionFactory sessionFactory,
PlanManager planManager,
PlanDependencyManager planDependencyManager)
AbstractProjectDependencyMapper
protected AbstractProjectDependencyMapper(net.sf.hibernate.SessionFactory sessionFactory)
saveDependency
protected void saveDependency(PlanDependency planDependency)
afterImportListItem
public void afterImportListItem(@NotNull
org.codehaus.staxmate.in.SMInputCursor inputCursor,
@NotNull
java.util.List<PlanDependency> planDependencies,
@NotNull
PlanDependency object,
long objectIndex,
@NotNull
net.sf.hibernate.Session session)
throws java.lang.Exception
- Description copied from class:
BambooStAXMappingListHelperAbstractImpl
- Called after parser completes parsing all child nodes in list's element node.
- Overrides:
afterImportListItem
in class BambooStAXMappingListHelperAbstractImpl<PlanDependency>
- Parameters:
inputCursor
- cursor pointing to the list's element opening nodeplanDependencies
- list of elements being importedobject
- object that has been importedobjectIndex
- one-based index of the object being parsedsession
- Hibernate session object
- Throws:
java.lang.Exception
- when something went wrong
getXmlElementNodeName
@NotNull
public java.lang.String getXmlElementNodeName()
- Returns local name of list element node
- Returns:
- local name of list element node
Copyright © 2010 Atlassian. All Rights Reserved.