public interface

MapperEntityRegister

com.atlassian.jira.imports.project.mapper.MapperEntityRegister
Known Indirect Subclasses

Class Overview

Interface that defines the simple way to register values in the Project Import file. Some objects, eg Issue Type, may need a more complicated method.

Summary

Public Methods
void registerOldValue(String oldId, String oldKey)
This method registers a value from the backup system as a value that can then be mapped in this Mapper.

Public Methods

public void registerOldValue (String oldId, String oldKey)

This method registers a value from the backup system as a value that can then be mapped in this Mapper. If the value is used by the backup data then the appropriate flagValueAsRequired() method should be called.

Parameters
oldId the string representation of the id of the backup value
oldKey the string representation of a descriptive value (key) representing the id (e.g. HSP-1 for an issue, or Bug for an issue type).