com.atlassian.jira.imports.project.mapper
Class GroupMapper

java.lang.Object
  extended by com.atlassian.jira.imports.project.mapper.AbstractMapper
      extended by com.atlassian.jira.imports.project.mapper.SimpleProjectImportIdMapperImpl
          extended by 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

Constructor Summary
GroupMapper(GroupManager groupManager)
           
 
Method Summary
 java.lang.String getMappedId(java.lang.String oldId)
          Retrieves a String that corresponds to the id in the target JIRA system, null if none has been mapped.
 
Methods inherited from class com.atlassian.jira.imports.project.mapper.SimpleProjectImportIdMapperImpl
flagValueAsRequired, registerOldValue, toString
 
Methods inherited from class com.atlassian.jira.imports.project.mapper.AbstractMapper
clearMappedValues, getAllMappedIds, getDisplayName, getKey, getRegisteredOldIds, getRequiredOldIds, getValuesFromImport, mapValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.imports.project.mapper.ProjectImportIdMapper
clearMappedValues, getAllMappedIds, getDisplayName, getKey, getRegisteredOldIds, getRequiredOldIds, getValuesFromImport, mapValue
 

Constructor Detail

GroupMapper

public GroupMapper(GroupManager groupManager)
Method Detail

getMappedId

public java.lang.String getMappedId(java.lang.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-2010 Atlassian. All Rights Reserved.