Class ChainMapper
java.lang.Object
com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl<T,I>
com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl<T,T>
com.atlassian.bamboo.migration.stream.AbstractPlanMapper<T>
com.atlassian.bamboo.migration.stream.build.AbstractChainMapper<Chain>
com.atlassian.bamboo.migration.stream.build.ChainMapper
- All Implemented Interfaces:
BambooStAXMappingHelper<Chain,
Chain>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.migration.BambooStAXMappingHelper
BambooStAXMappingHelper.None
-
Field Summary
Fields inherited from class com.atlassian.bamboo.migration.stream.build.AbstractChainMapper
PLAN_XML_SPECS_SOURCE
Fields inherited from class com.atlassian.bamboo.migration.stream.AbstractPlanMapper
authorMap, labelMap, labels, notificationSetMapper, planBuildNumbers, planRepositoryLinkDao, planVcsRevisionHistoryDao, project, repositoryDefinitionDao
Fields inherited from class com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl
transactionOperations
-
Constructor Summary
ConstructorDescriptionChainMapper
(@NotNull org.hibernate.SessionFactory sessionFactory, @NotNull Project project, @NotNull Map<Long, Label> labelMap, @NotNull Map<Long, ExtendedAuthor> authorMap, PlanDao planDao, ResultsSummaryManager resultsSummaryManager, BuildResultsSummaryDao buildResultSummaryDao, BuildResultWarningSummaryDao buildResultWarningSummaryDao, PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao, VariableContextBaselineDao variableContextBaselineDao, @NotNull RepositoryDefinitionDao repositoryDefinitionDao, @NotNull PlanRepositoryLinkDao planRepositoryLinkDao, @NotNull NotificationSetMapper notificationSetMapper, @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations) -
Method Summary
Methods inherited from class com.atlassian.bamboo.migration.stream.build.AbstractChainMapper
afterImportListItem, createItemInstance, exportProperties, importProperties
Methods inherited from class com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl
beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, importListXml, importListXml, importListXmlInTransaction
Methods inherited from class com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl
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 Details
-
XML_ROOT
- See Also:
-
XML_NODE
- See Also:
-
-
Constructor Details
-
ChainMapper
public ChainMapper(@NotNull @NotNull org.hibernate.SessionFactory sessionFactory, @NotNull @NotNull Project project, @NotNull @NotNull Map<Long, Label> labelMap, @NotNull @NotNull Map<Long, ExtendedAuthor> authorMap, PlanDao planDao, ResultsSummaryManager resultsSummaryManager, BuildResultsSummaryDao buildResultSummaryDao, BuildResultWarningSummaryDao buildResultWarningSummaryDao, PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao, VariableContextBaselineDao variableContextBaselineDao, @NotNull @NotNull RepositoryDefinitionDao repositoryDefinitionDao, @NotNull @NotNull PlanRepositoryLinkDao planRepositoryLinkDao, @NotNull @NotNull NotificationSetMapper notificationSetMapper, @NotNull @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
-
-
Method Details
-
createPlanEntity
- Specified by:
createPlanEntity
in classAbstractPlanMapper<Chain>
-
getXmlRootNodeName
Description copied from interface:BambooStAXMappingHelper
Returns local name of the XML parent node that will contain exported/imported object's properties- Specified by:
getXmlRootNodeName
in interfaceBambooStAXMappingHelper<Chain,
Chain> - Overrides:
getXmlRootNodeName
in classBambooStAXMappingListHelperAbstractImpl<Chain,
Chain> - Returns:
- local name of the XML parent node
-
getXmlElementNodeName
- Overrides:
getXmlElementNodeName
in classBambooStAXMappingListHelperAbstractImpl<Chain,
Chain>
-