com.atlassian.jira.imports.project.transformer
Class WatcherTransformerImpl
java.lang.Object
com.atlassian.jira.imports.project.transformer.WatcherTransformerImpl
- All Implemented Interfaces:
- WatcherTransformer
public class WatcherTransformerImpl
- extends Object
- implements WatcherTransformer
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatcherTransformerImpl
public WatcherTransformerImpl()
transform
public ExternalWatcher transform(ProjectImportMapper projectImportMapper,
ExternalWatcher watcher)
- Description copied from interface:
WatcherTransformer
- Transforms an ExternalWatcher based on the project import mapper that is provided. This should only be
used with a fully mapped and validated ProjectImportMapper.
- Specified by:
transform
in interface WatcherTransformer
- Parameters:
projectImportMapper
- a fully mapped and validated ProjectImportMapperwatcher
- the external watcher 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 ExternalWatcher that contains the transformed values based on the projectImportMapper, null if the
issue id has not been mapped.
Copyright © 2002-2013 Atlassian. All Rights Reserved.