public class CustomFieldOptionMapperValidatorImpl extends Object implements CustomFieldOptionMapperValidator
Constructor and Description |
---|
CustomFieldOptionMapperValidatorImpl(OptionsManager optionsManager) |
Modifier and Type | Method and Description |
---|---|
void |
validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
CustomFieldOptionMapper customFieldOptionMapper,
CustomFieldMapper customFieldMapper,
Map<String,MessageSet> customFieldValueMessageSets)
Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instances setup.
|
public CustomFieldOptionMapperValidatorImpl(OptionsManager optionsManager)
public void validateMappings(I18nHelper i18nHelper, BackupProject backupProject, CustomFieldOptionMapper customFieldOptionMapper, CustomFieldMapper customFieldMapper, Map<String,MessageSet> customFieldValueMessageSets)
CustomFieldOptionMapperValidator
validateMappings
in interface CustomFieldOptionMapperValidator
i18nHelper
- used to i18n error messagesbackupProject
- used to determine the project portion which helps identify which custom field configuration we are usingcustomFieldOptionMapper
- the mapper that is being validated, should have been mapped and flagged as required.customFieldMapper
- a fully populated and validated custom field mapper.customFieldValueMessageSets
- this is a map of that is keyed by the old custom field id who's value is a message set
of errors and warnings about that custom field. This is where options related errors and warnings will be reported.Copyright © 2002-2018 Atlassian. All Rights Reserved.