public interface

ChangeGroupTransformer

com.atlassian.jira.imports.project.transformer.ChangeGroupTransformer
Known Indirect Subclasses

Class Overview

Used to transform an ExternalChangeGroup based on the project import mapper that is provided. This should only be used with a fully mapped and validated ProjectImportMapper.

Summary

Public Methods
ExternalChangeGroup transform(ProjectImportMapper projectImportMapper, ExternalChangeGroup changeGroup)
Transforms an ExternalChangeGroup based on the project import mapper that is provided.

Public Methods

public ExternalChangeGroup transform (ProjectImportMapper projectImportMapper, ExternalChangeGroup changeGroup)

Transforms an ExternalChangeGroup based on the project import mapper that is provided. This should only be used with a fully mapped and validated ProjectImportMapper.

Note that the ID is left as null, as the new ID will not be known until the object is created.

Parameters
projectImportMapper a fully mapped and validated ProjectImportMapper
changeGroup the external ChangeGroup that contains all the old values that need to be transformed and other values that should be stored that need no transformation.
Returns
  • a new ExternalChangeGroup that contains the transformed values based on the projectImportMapper.