com.atlassian.jira.imports.project.transformer
Class ChangeItemTransformerImpl
java.lang.Object
com.atlassian.jira.imports.project.transformer.ChangeItemTransformerImpl
- All Implemented Interfaces:
- ChangeItemTransformer
public class ChangeItemTransformerImpl
- extends Object
- implements ChangeItemTransformer
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeItemTransformerImpl
public ChangeItemTransformerImpl()
transform
public ExternalChangeItem transform(ProjectImportMapper projectImportMapper,
ExternalChangeItem changeItem)
- Description copied from interface:
ChangeItemTransformer
- Transforms an ExternalChangeItem based on the project import mapper that is provided. This should only be
used with a fully mapped and validated ProjectImportMapper.
Note this will return a null value if the Change Group has not been mapped.
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 ChangeItemTransformer
- Parameters:
projectImportMapper
- a fully mapped and validated ProjectImportMapperchangeItem
- the external ChangeItem 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 ExternalChangeItem that contains the transformed values based on the projectImportMapper.
Copyright © 2002-2012 Atlassian. All Rights Reserved.