com.atlassian.jira.imports.project.transformer
Interface ComponentTransformer
- All Known Implementing Classes:
- ComponentTransformerImpl
public interface ComponentTransformer
Used to transform an ExternalNodeAssociation(IssueComponent) based on the project import mapper that is provided. This should only be
used with a fully mapped and validated ProjectImportMapper.
- Since:
- v3.13
transform
ExternalNodeAssociation transform(ProjectImportMapper projectImportMapper,
ExternalNodeAssociation component)
- Transforms an ExternalNodeAssociation (IssueComponent) based on the project import mapper that is provided. This should only be
used with a fully mapped and validated ProjectImportMapper.
- Parameters:
projectImportMapper
- a fully mapped and validated ProjectImportMappercomponent
- the external node association 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 ExternalNodeAssociation that contains the transformed values based on the projectImportMapper. Null
if the node association type is not a component type or if the issue or component id's have not been mapped.
Copyright © 2002-2012 Atlassian. All Rights Reserved.