com.atlassian.jira.imports.project.transformer
Class TrackbackTransformerImpl
java.lang.Object
com.atlassian.jira.imports.project.transformer.TrackbackTransformerImpl
- All Implemented Interfaces:
- TrackbackTransformer
public class TrackbackTransformerImpl
- extends Object
- implements TrackbackTransformer
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackbackTransformerImpl
public TrackbackTransformerImpl()
transform
public ExternalTrackback transform(ProjectImportMapper projectImportMapper,
ExternalTrackback trackback)
- Description copied from interface:
TrackbackTransformer
- Transforms an ExternalTrackback based on the project import mapper that is provided. This should only be
used with a fully mapped and validated ProjectImportMapper.
Note that the ID is left as null, as the new ID will not be known until the object is created.
- Specified by:
transform
in interface TrackbackTransformer
- Parameters:
projectImportMapper
- a fully mapped and validated ProjectImportMappertrackback
- the external trackback 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 ExternalTrackback that contains the transformed values based on the projectImportMapper.
Copyright © 2002-2009 Atlassian. All Rights Reserved.