public class CommentTransformerImpl extends Object implements CommentTransformer
Constructor and Description |
---|
CommentTransformerImpl() |
Modifier and Type | Method and Description |
---|---|
ExternalComment |
transform(ProjectImportMapper projectImportMapper,
ExternalComment oldComment)
Transforms an ExternalComment based on the project import mapper that is provided.
|
public ExternalComment transform(ProjectImportMapper projectImportMapper, ExternalComment oldComment)
CommentTransformer
Note that the ID is left as null, as the new ID will not be known until the object is created.
transform
in interface CommentTransformer
projectImportMapper
- a fully mapped and validated ProjectImportMapperoldComment
- the external comment that contains all the old values that need to be transformed and other values
that should be stored that need no transformation.Copyright © 2002-2022 Atlassian. All Rights Reserved.