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

java.lang.Object
  extended by com.atlassian.jira.imports.project.mapper.AbstractMapper
      extended by com.atlassian.jira.imports.project.mapper.SimpleProjectImportIdMapperImpl
All Implemented Interfaces:
MapperEntityRegister, ProjectImportIdMapper, SimpleProjectImportIdMapper
Direct Known Subclasses:
GroupMapper

public class SimpleProjectImportIdMapperImpl
extends AbstractMapper
implements SimpleProjectImportIdMapper

Since:
v3.13

Constructor Summary
SimpleProjectImportIdMapperImpl()
           
 
Method Summary
 void flagValueAsRequired(String oldId)
          This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes.
 void registerOldValue(String oldId, String oldKey)
          This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes.
 String toString()
           
 
Methods inherited from class com.atlassian.jira.imports.project.mapper.AbstractMapper
clearMappedValues, getAllMappedIds, getDisplayName, getKey, getMappedId, 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, getMappedId, getRegisteredOldIds, getRequiredOldIds, getValuesFromImport, mapValue
 

Constructor Detail

SimpleProjectImportIdMapperImpl

public SimpleProjectImportIdMapperImpl()
Method Detail

flagValueAsRequired

public void flagValueAsRequired(String oldId)
Description copied from class: AbstractMapper
This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes. MapperHandlers should call the public method specific to the concrete class they use.

Specified by:
flagValueAsRequired in interface SimpleProjectImportIdMapper
Overrides:
flagValueAsRequired in class AbstractMapper
Parameters:
oldId - The ID of the required object from the import file.

registerOldValue

public void registerOldValue(String oldId,
                             String oldKey)
Description copied from class: AbstractMapper
This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes. MapperHandlers should call the public method specific to the concrete class they use.

Specified by:
registerOldValue in interface MapperEntityRegister
Overrides:
registerOldValue in class AbstractMapper
Parameters:
oldId - The ID of the required object from the import file.
oldKey - The unique key of the required object from the import file.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.