public interface

WatcherTransformer

com.atlassian.jira.imports.project.transformer.WatcherTransformer
Known Indirect Subclasses

Class Overview

Used to transform an ExternalWatcher based on the project import mapper that is provided. This should only be used with a fully mapped and validated ProjectImportMapper.

Summary

Public Methods
ExternalWatcher transform(ProjectImportMapper projectImportMapper, ExternalWatcher watcher)
Transforms an ExternalWatcher based on the project import mapper that is provided.

Public Methods

public ExternalWatcher transform (ProjectImportMapper projectImportMapper, ExternalWatcher watcher)

Transforms an ExternalWatcher based on the project import mapper that is provided. This should only be used with a fully mapped and validated ProjectImportMapper.

Parameters
projectImportMapper a fully mapped and validated ProjectImportMapper
watcher 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.