com.atlassian.bamboo.migration
Interface BambooStAXRootMapper

All Superinterfaces:
BambooRootMapper
All Known Implementing Classes:
AbstractProjectDependencyMapper, AbstractProjectMapper, AclMapper, ArtifactDefinitionMapper, ArtifactLinkMapper, ArtifactSubscriptionMapper, AuditLogMapper, AuthorMapper, BandanaItemMapper, BuildNumberMapper, CommitRootMapper, ConsumedSubscriptionMapper, ElasticImageConfigurationMapper, ElasticInstanceScheduleMapper, ExternalEntityMapper, GroupMapper, InstantMessagingServerMapper, LabelMapper, LegacyJiraServerMapper, LegacyProjectDependencyMapper, LinkedJiraIssueRootMapper, LocalGroupMapper, LocalUserMapper, LoginInformationMapper, MailServerMapper, PipelineMapper, PlanRepositoryLinkMapper, PlanVcsRevisionHistoryMapper, ProjectChainMapper, ProjectDependencyMapper, ProjectMapper, PropertyEntryMapper, RelevantChangesetsMapper, RemoteAgentAuthenticationMapper, RepositoryChangesetMapper, RepositoryDefinitionMapper, ServerIDMapper, SharedCapabilityMapper, TestCaseMapper, TestCaseResultErrorMapper, TestCaseResultMapper, TestClassMapper, TestClassResultMapper, TrustedApplicationsMapper, UserMapper, VariableDefinitionMapper, VariableSubstitutionMapper, VcsBranchMapper

public interface BambooStAXRootMapper
extends BambooRootMapper

Base interface for StAX based export-import root level mappers


Method Summary
 void exportData(org.codehaus.staxmate.out.SMOutputElement outputElement, ExportDetailsBean exportDetailsBean)
          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 interface com.atlassian.bamboo.migration.BambooRootMapper
isShouldExport
 

Method Detail

getXmlRootNodeName

@NotNull
java.lang.String getXmlRootNodeName()
Returns local name of the XML parent node handled by this mapper

Returns:
local name of the XML parent node

exportData

void exportData(@NotNull
                org.codehaus.staxmate.out.SMOutputElement outputElement,
                ExportDetailsBean exportDetailsBean)
                throws java.lang.Exception
Perform data export

Parameters:
outputElement - parent node for mapper's root node, usually root element of the XML file
exportDetailsBean -
Throws:
java.lang.Exception - when something went wrong

importData

void importData(@NotNull
                org.codehaus.staxmate.in.SMInputCursor inputCursor)
                throws java.lang.Exception
Perform data import

Parameters:
inputCursor - mapper's root node, usually child of root element of the XML file
Throws:
java.lang.Exception - when something went wrong


Copyright © 2012 Atlassian. All Rights Reserved.