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

java.lang.Object
  extended by com.atlassian.jira.imports.project.mapper.AbstractMapper
      extended by com.atlassian.jira.imports.project.mapper.IssueLinkTypeMapper
All Implemented Interfaces:
ProjectImportIdMapper

public class IssueLinkTypeMapper
extends AbstractMapper

Holds the mappings for an IssueLinkType. The registration of old values is extended from the standard mapper by adding the "style" value. This is currently only used to mark subtasks as special.

Since:
v3.13

Constructor Summary
IssueLinkTypeMapper()
           
 
Method Summary
 void flagValueAsRequired(java.lang.String oldId)
          This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes.
 java.lang.String getStyle(java.lang.String oldId)
           
 void registerOldValue(java.lang.String oldId, java.lang.String name, java.lang.String style)
           
 
Methods inherited from class com.atlassian.jira.imports.project.mapper.AbstractMapper
clearMappedValues, getAllMappedIds, getDisplayName, getKey, getMappedId, getRegisteredOldIds, getRequiredOldIds, getValuesFromImport, mapValue, registerOldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueLinkTypeMapper

public IssueLinkTypeMapper()
Method Detail

registerOldValue

public void registerOldValue(java.lang.String oldId,
                             java.lang.String name,
                             java.lang.String style)

flagValueAsRequired

public void flagValueAsRequired(java.lang.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.

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

getStyle

public java.lang.String getStyle(java.lang.String oldId)


Copyright © 2002-2010 Atlassian. All Rights Reserved.