Interface SimpleProjectImportIdMapper
- All Superinterfaces:
MapperEntityRegister
,ProjectImportIdMapper
- All Known Implementing Classes:
GroupMapper
,SimpleProjectImportIdMapperImpl
@PublicApi
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
Modifier and TypeMethodDescriptionvoid
flagValueAsRequired
(String oldId) Flags an old value, which should eventually be registered viaMapperEntityRegister.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.MapperEntityRegister
registerOldValue
Methods inherited from interface com.atlassian.jira.imports.project.mapper.ProjectImportIdMapper
clearMappedValues, getAllMappedIds, getDisplayName, getKey, getMappedId, getRegisteredOldIds, getRequiredOldIds, mapValue
-
Method Details
-
flagValueAsRequired
Flags an old value, which should eventually be registered viaMapperEntityRegister.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.
-