com.atlassian.bamboo.migration.stream
Class ChainMapper

java.lang.Object
  extended by com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl<T>
      extended by com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl<T>
          extended by com.atlassian.bamboo.migration.stream.AbstractPlanMapper<T>
              extended by com.atlassian.bamboo.migration.stream.AbstractChainMapper<Chain>
                  extended by com.atlassian.bamboo.migration.stream.ChainMapper
All Implemented Interfaces:
BambooStAXMappingHelper<Chain>

public class ChainMapper
extends AbstractChainMapper<Chain>


Field Summary
static java.lang.String XML_NODE
           
static java.lang.String XML_ROOT
           
 
Fields inherited from class com.atlassian.bamboo.migration.stream.AbstractPlanMapper
authorMap, changesets, labelMap, labels, lastVcsRevisionKeyFromPlan, notificationManager, planRepository, planVcsRevisionHistoryDao, project, repositoryDefinitionManager
 
Constructor Summary
ChainMapper(net.sf.hibernate.SessionFactory sessionFactory, Project project, java.util.Map<java.lang.Long,Label> labelMap, java.util.Map<java.lang.Long,Author> authorMap, NotificationManager notificationManager, PlanManager planManager, BuildResultsSummaryManager buildResultsSummaryManager, BuildResultsSummaryDao buildResultSummaryDao, PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao, RepositoryDefinitionManager repositoryDefinitionManager)
           
 
Method Summary
 Chain createPlanEntity()
           
 java.lang.String getXmlElementNodeName()
           
 java.lang.String getXmlRootNodeName()
          Returns local name of the XML parent node that will contain exported/imported object's properties
 
Methods inherited from class com.atlassian.bamboo.migration.stream.AbstractChainMapper
afterImportListItem, exportProperties, importProperties
 
Methods inherited from class com.atlassian.bamboo.migration.stream.AbstractPlanMapper
createItemInstance
 
Methods inherited from class com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl
beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, importListXml, importListXml
 
Methods inherited from class com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl
commitClearSession, commitSession, exportXml, exportXml, getSession, getSessionFactory, importXml, importXml, isShouldExport, saveBambooObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.migration.BambooStAXMappingHelper
exportXml, importXml
 

Field Detail

XML_ROOT

public static final java.lang.String XML_ROOT
See Also:
Constant Field Values

XML_NODE

public static final java.lang.String XML_NODE
See Also:
Constant Field Values
Constructor Detail

ChainMapper

public ChainMapper(@NotNull
                   net.sf.hibernate.SessionFactory sessionFactory,
                   @NotNull
                   Project project,
                   @NotNull
                   java.util.Map<java.lang.Long,Label> labelMap,
                   @NotNull
                   java.util.Map<java.lang.Long,Author> authorMap,
                   NotificationManager notificationManager,
                   PlanManager planManager,
                   BuildResultsSummaryManager buildResultsSummaryManager,
                   BuildResultsSummaryDao buildResultSummaryDao,
                   PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao,
                   @NotNull
                   RepositoryDefinitionManager repositoryDefinitionManager)
Method Detail

createPlanEntity

public Chain createPlanEntity()
Specified by:
createPlanEntity in class AbstractPlanMapper<Chain>

getXmlRootNodeName

@NotNull
public java.lang.String getXmlRootNodeName()
Description copied from interface: BambooStAXMappingHelper
Returns local name of the XML parent node that will contain exported/imported object's properties

Returns:
local name of the XML parent node

getXmlElementNodeName

@NotNull
public java.lang.String getXmlElementNodeName()


Copyright © 2012 Atlassian. All Rights Reserved.