com.atlassian.jira.imports.project.mapper
Class GroupMapper
java.lang.Object
com.atlassian.jira.imports.project.mapper.AbstractMapper
com.atlassian.jira.imports.project.mapper.SimpleProjectImportIdMapperImpl
com.atlassian.jira.imports.project.mapper.GroupMapper
- All Implemented Interfaces:
- MapperEntityRegister, ProjectImportIdMapper, SimpleProjectImportIdMapper
public class GroupMapper
- extends SimpleProjectImportIdMapperImpl
Maps groups from old to new system. Always checks to see if the group exists when getMappedId is called.
- Since:
- v3.13
Method Summary |
String |
getMappedId(String oldId)
Retrieves a String that corresponds to the id in the target JIRA system, null if none has been mapped. |
GroupMapper
public GroupMapper(GroupManager groupManager)
getMappedId
public String getMappedId(String oldId)
- Description copied from interface:
ProjectImportIdMapper
- Retrieves a String that corresponds to the id in the target JIRA system, null if none has been mapped.
- Specified by:
getMappedId
in interface ProjectImportIdMapper
- Overrides:
getMappedId
in class AbstractMapper
- Parameters:
oldId
- identifies the mapping we are looking for.
- Returns:
- String that corresponds to the id in the target JIRA system, null if none has been mapped.
Copyright © 2002-2012 Atlassian. All Rights Reserved.