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>
public class ChainMapper extends AbstractChainMapper<Chain>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.migration.BambooStAXMappingHelper
BambooStAXMappingHelper.None
-
-
Field Summary
Fields Modifier and Type Field Description static String
XML_NODE
static String
XML_ROOT
-
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
Constructors Constructor Description ChainMapper(@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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chain
createPlanEntity()
@NotNull String
getXmlElementNodeName()
@NotNull 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.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 Detail
-
XML_ROOT
public static final String XML_ROOT
- See Also:
- Constant Field Values
-
XML_NODE
public static final String XML_NODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
createPlanEntity
public Chain createPlanEntity()
- Specified by:
createPlanEntity
in classAbstractPlanMapper<Chain>
-
getXmlRootNodeName
@NotNull public @NotNull String 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
@NotNull public @NotNull String getXmlElementNodeName()
- Overrides:
getXmlElementNodeName
in classBambooStAXMappingListHelperAbstractImpl<Chain,Chain>
-
-