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