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

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

public class VoterTransformerImpl
extends Object
implements VoterTransformer

Since:
v3.13

Constructor Summary
VoterTransformerImpl()
           
 
Method Summary
 ExternalVoter transform(ProjectImportMapper projectImportMapper, ExternalVoter voter)
          Transforms an ExternalVoter 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

VoterTransformerImpl

public VoterTransformerImpl()
Method Detail

transform

public ExternalVoter transform(ProjectImportMapper projectImportMapper,
                               ExternalVoter voter)
Description copied from interface: VoterTransformer
Transforms an ExternalVoter 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 VoterTransformer
Parameters:
projectImportMapper - a fully mapped and validated ProjectImportMapper
voter - the external voter 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 ExternalVoter that contains the transformed values based on the projectImportMapper, null if the issue id has not been mapped.


Copyright © 2002-2010 Atlassian. All Rights Reserved.