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

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

public class AttachmentTransformerImpl
extends Object
implements AttachmentTransformer

Since:
v3.13

Constructor Summary
AttachmentTransformerImpl()
           
 
Method Summary
 ExternalAttachment transform(ProjectImportMapper projectImportMapper, ExternalAttachment attachment)
          Transforms an ExternalAttachment 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

AttachmentTransformerImpl

public AttachmentTransformerImpl()
Method Detail

transform

public ExternalAttachment transform(ProjectImportMapper projectImportMapper,
                                    ExternalAttachment attachment)
Description copied from interface: AttachmentTransformer
Transforms an ExternalAttachment 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 AttachmentTransformer
Parameters:
projectImportMapper - a fully mapped and validated ProjectImportMapper
attachment - the external attachment 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 ExternalAttachment that contains the transformed values based on the projectImportMapper.


Copyright © 2002-2012 Atlassian. All Rights Reserved.