public class ChangeItemTransformerImpl extends Object implements ChangeItemTransformer
Constructor and Description |
---|
ChangeItemTransformerImpl(String mappedProjectId,
CustomFieldManager customFieldManager) |
Modifier and Type | Method and Description |
---|---|
ExternalChangeItem |
transform(ProjectImportMapper projectImportMapper,
ExternalChangeItem changeItem)
Transforms an ExternalChangeItem based on the project import mapper that is provided.
|
public ChangeItemTransformerImpl(String mappedProjectId, CustomFieldManager customFieldManager)
public ExternalChangeItem transform(ProjectImportMapper projectImportMapper, ExternalChangeItem changeItem)
ChangeItemTransformer
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.
transform
in interface ChangeItemTransformer
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.Copyright © 2002-2017 Atlassian. All Rights Reserved.