com.atlassian.jira.imports.fogbugz.transformer
Class FixForVersionTransformerVer61OrOlder

java.lang.Object
  extended by com.atlassian.jira.imports.fogbugz.transformer.FixForVersionTransformerVer61OrOlder
All Implemented Interfaces:
ResultSetTransformer<ExternalVersion>

public class FixForVersionTransformerVer61OrOlder
extends java.lang.Object
implements ResultSetTransformer<ExternalVersion>

Transforms entries from the FixFor table into ExternalVersion objects.

This transformer works for FogBugz schema before 7.0.x (last tested with 6.1.31) where the schema looks like this:

  +------------+--------------+
  | Field      | Type         |
  +------------+--------------+
  | ixFixFor   | int(11)      |
  | sFixFor    | varchar(255) |
  | dt         | datetime     |
  | bDeleted   | int(11)      |
  | ixProject  | int(11)      |
  +------------+--------------+
 

Since:
v4.0.2

Field Summary
 
Fields inherited from interface com.atlassian.jira.imports.importer.ResultSetTransformer
log
 
Constructor Summary
FixForVersionTransformerVer61OrOlder(ExternalProject externalProject)
           
 
Method Summary
 java.lang.String getSqlQuery()
           
 ExternalVersion transform(java.sql.ResultSet rs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixForVersionTransformerVer61OrOlder

public FixForVersionTransformerVer61OrOlder(ExternalProject externalProject)
Method Detail

getSqlQuery

public java.lang.String getSqlQuery()
Specified by:
getSqlQuery in interface ResultSetTransformer<ExternalVersion>

transform

public ExternalVersion transform(java.sql.ResultSet rs)
                          throws java.sql.SQLException
Specified by:
transform in interface ResultSetTransformer<ExternalVersion>
Throws:
java.sql.SQLException


Copyright © 2002-2010 Atlassian. All Rights Reserved.