com.atlassian.jira.imports.project.mapper
Interface SimpleProjectImportIdMapper

All Superinterfaces:
MapperEntityRegister, ProjectImportIdMapper
All Known Implementing Classes:
GroupMapper, SimpleProjectImportIdMapperImpl

public interface SimpleProjectImportIdMapper
extends ProjectImportIdMapper, MapperEntityRegister

Defines a value mapper used for project import. This allows us to map an old value with a new value in the target system. Each instance of ProjectImportIdMapper represents a particular type of object in the system; eg IssueType, Issue, etc.

Since:
v3.13

Method Summary
 void flagValueAsRequired(java.lang.String oldId)
          Flags an old value, which should eventually be registered via MapperEntityRegister.registerOldValue(String, String), such that this mapper will indicate that the value MUST be mapped to a new value.
 
Methods inherited from interface com.atlassian.jira.imports.project.mapper.ProjectImportIdMapper
clearMappedValues, getAllMappedIds, getDisplayName, getKey, getMappedId, getRegisteredOldIds, getRequiredOldIds, getValuesFromImport, mapValue
 
Methods inherited from interface com.atlassian.jira.imports.project.mapper.MapperEntityRegister
registerOldValue
 

Method Detail

flagValueAsRequired

void flagValueAsRequired(java.lang.String oldId)
Flags an old value, which should eventually be registered via MapperEntityRegister.registerOldValue(String, String), such that this mapper will indicate that the value MUST be mapped to a new value.

Parameters:
oldId - the string representation for the id of the backup value.


Copyright © 2002-2010 Atlassian. All Rights Reserved.