com.atlassian.jira.imports.project.transformer
Class VersionTransformerImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.transformer.VersionTransformerImpl
All Implemented Interfaces:
VersionTransformer

public class VersionTransformerImpl
extends java.lang.Object
implements VersionTransformer

Since:
v3.13

Constructor Summary
VersionTransformerImpl()
           
 
Method Summary
 ExternalNodeAssociation transform(ProjectImportMapper projectImportMapper, ExternalNodeAssociation version)
          Transforms an ExternalNodeAssociation (IssueVersion) based on the project import mapper that is provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionTransformerImpl

public VersionTransformerImpl()
Method Detail

transform

public ExternalNodeAssociation transform(ProjectImportMapper projectImportMapper,
                                         ExternalNodeAssociation version)
Description copied from interface: VersionTransformer
Transforms an ExternalNodeAssociation (IssueVersion) based on the project import mapper that is provided. This should only be used with a fully mapped and validated ProjectImportMapper.

Specified by:
transform in interface VersionTransformer
Parameters:
projectImportMapper - a fully mapped and validated ProjectImportMapper
version - 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 version type or if the issue or version id's have not been mapped.


Copyright © 2002-2010 Atlassian. All Rights Reserved.