Interface BambooStAXRootMapper

All Superinterfaces:
BambooRootMapper
All Known Implementing Classes:
AbstractProjectDependencyMapper, AbstractProjectMapper, AccessTokenMapper, AclMapper, AgentAssignmentMapper, AliasMapper, ApplicationMapper, ArtifactDefinitionMapper, ArtifactLinkMapper, ArtifactMapper, ArtifactSubscriptionMapper, AuditLogMapper, AuthorMapper, BandanaItemMapper, BuildNumberMapper, BuildResultsWarningsSummariesMapper, CommentRootMapper, CommitRootMapper, ConsumedSubscriptionMapper, CredentialMapper, CrowdDeletedEntityMapper, DeploymentProjectMapper, DeploymentResultMapper, DeploymentVersionVcsCommitMapper, DirectoryMapper, ElasticImageConfigurationMapper, ElasticInstanceScheduleMapper, EphemeralAgentTemplateMapper, ExternalEntityMapper, GroupMapper, IdGeneratorMapper, InstantMessagingServerMapper, LabelMapper, LinkedJiraIssueRootMapper, LocalGroupMapper, LocalUserMapper, MailServerMapper, MembershipMapper, PipelineMapper, PlanBranchPullRequestMapper, PlanBuildNumbersMapper, PlanRepositoryLinkMapper, PlanSpecsSourceMapper, PlanVcsRevisionHistoryMapper, ProjectChainMapper, ProjectDependencyMapper, ProjectMapper, PropertyEntryMapper, PullRequestMapper, QuickFilterMapper, RelevantChangesetsMapper, RemoteAgentAuthenticationMapper, RepositoryChangesetMapper, RepositoryDefinitionMapper, ScriptMapper, ServerIDMapper, SharedCapabilityMapper, SpecsSourceMapper, SpecsStateMapper, TestCaseMapper, TestCaseResultErrorMapper, TestCaseResultMapper, TestClassMapper, TestClassResultMapper, TrustedApplicationsMapper, TrustedKeyMapper, UserMapper, VariableContextBaselineMapper, VariableDefinitionMapper, VariableSubstitutionMapper, VcsBranchMapper, WebhookTemplateMapper

public interface BambooStAXRootMapper extends BambooRootMapper
Base interface for StAX based export-import root level mappers
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    exportData(@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, ExportDetailsBean exportDetailsBean)
    Perform data export
    @NotNull String
    Returns local name of the XML parent node handled by this mapper
    void
    importData(@NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor)
    Perform data import

    Methods inherited from interface com.atlassian.bamboo.migration.BambooRootMapper

    isShouldExport
  • Method Details

    • getXmlRootNodeName

      @NotNull @NotNull 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 @NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, ExportDetailsBean exportDetailsBean) throws Exception
      Perform data export
      Parameters:
      outputElement - parent node for mapper's root node, usually root element of the XML file
      exportDetailsBean -
      Throws:
      Exception - when something went wrong
    • importData

      void importData(@NotNull @NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
      Perform data import
      Parameters:
      inputCursor - mapper's root node, usually child of root element of the XML file
      Throws:
      Exception - when something went wrong