public class PriorityMapperValidator extends Object implements ProjectAwareMapperValidator
Constructor and Description |
---|
PriorityMapperValidator(ProjectManager projectManager,
PrioritySchemeManager prioritySchemeManager) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
SimpleProjectImportIdMapper simpleProjectImportIdMapper)
Validates the following conditions:
- all priorities that appeared in imported issues have to be present in current jira instance
- there is one special case - when imported issue had invalid priority already on the previous instance (eg.
|
public PriorityMapperValidator(ProjectManager projectManager, PrioritySchemeManager prioritySchemeManager)
public MessageSet validateMappings(I18nHelper i18nHelper, BackupProject backupProject, SimpleProjectImportIdMapper simpleProjectImportIdMapper)
validateMappings
in interface ProjectAwareMapperValidator
i18nHelper
- used to resolve i18n messagesbackupProject
- imported projectsimpleProjectImportIdMapper
- the mapper that will be inspected to make sure that all its required values
are mapped.Copyright © 2002-2019 Atlassian. All Rights Reserved.