public class LabelTransformerImpl extends Object implements LabelTransformer
Constructor and Description |
---|
LabelTransformerImpl() |
Modifier and Type | Method and Description |
---|---|
ExternalLabel |
transform(ProjectImportMapper projectImportMapper,
ExternalLabel oldLabel)
Transforms an ExternalLabel based on the project import mapper that is provided.
|
public ExternalLabel transform(ProjectImportMapper projectImportMapper, ExternalLabel oldLabel)
LabelTransformer
Note that the ID is left as null, as the new ID will not be known until the object is created.
transform
in interface LabelTransformer
projectImportMapper
- a fully mapped and validated ProjectImportMapperoldLabel
- the external label 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.