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

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

public class CustomFieldOptionMapper
extends AbstractMapper

Used to map custom field options from a backup project to an existing project.

Since:
v3.13

Constructor Summary
CustomFieldOptionMapper()
           
 
Method Summary
 void flagValueAsRequired(java.lang.String oldCustomFieldOptionId)
          This is an internal method for use by Mappers extending AbstractMapper and should not be called from other classes.
 java.util.Collection getChildOptions(java.lang.String parentOptionId)
           
 ExternalCustomFieldOption getCustomFieldOption(java.lang.String oldId)
           
 java.util.Collection getParentOptions(java.lang.String configurationSchemeId)
           
 void registerOldValue(ExternalCustomFieldOption customFieldOption)
           
 
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

CustomFieldOptionMapper

public CustomFieldOptionMapper()
Method Detail

registerOldValue

public void registerOldValue(ExternalCustomFieldOption customFieldOption)

getCustomFieldOption

public ExternalCustomFieldOption getCustomFieldOption(java.lang.String oldId)

getParentOptions

public java.util.Collection getParentOptions(java.lang.String configurationSchemeId)

getChildOptions

public java.util.Collection getChildOptions(java.lang.String parentOptionId)

flagValueAsRequired

public void flagValueAsRequired(java.lang.String oldCustomFieldOptionId)
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:
oldCustomFieldOptionId - The ID of the required object from the import file.


Copyright © 2002-2010 Atlassian. All Rights Reserved.