com.atlassian.jira.imports.project.mapper
Class CustomFieldOptionMapper
java.lang.Object
com.atlassian.jira.imports.project.mapper.AbstractMapper
com.atlassian.jira.imports.project.mapper.CustomFieldOptionMapper
- All Implemented Interfaces:
- ProjectImportIdMapper
@PublicApi
public class CustomFieldOptionMapper
- extends AbstractMapper
Used to map custom field options from a backup project to an existing project.
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFieldOptionMapper
public CustomFieldOptionMapper()
registerOldValue
public void registerOldValue(ExternalCustomFieldOption customFieldOption)
getCustomFieldOption
public ExternalCustomFieldOption getCustomFieldOption(String oldId)
getParentOptions
public Collection getParentOptions(String configurationSchemeId)
getChildOptions
public Collection getChildOptions(String parentOptionId)
flagValueAsRequired
public void flagValueAsRequired(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-2013 Atlassian. All Rights Reserved.