com.atlassian.jira.imports.project.validation
Interface IssueTypeMapperValidator

All Known Implementing Classes:
IssueTypeMapperValidatorImpl

public interface IssueTypeMapperValidator

Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instances setup. This validator makes sure that the issue types that are required:

Since:
v3.13

Method Summary
 MessageSet validateMappings(I18nHelper i18nHelper, BackupProject backupProject, IssueTypeMapper issueTypeMapper)
          Makes sure that the issue types that are required: exists in the current instance is valid for the current projects issue type scheme is or is not a subtask based on how the issue type was defined in the backup system
 

Method Detail

validateMappings

MessageSet validateMappings(I18nHelper i18nHelper,
                            BackupProject backupProject,
                            IssueTypeMapper issueTypeMapper)
Makes sure that the issue types that are required:

Parameters:
i18nHelper - helper bean that allows us to get i18n translations
backupProject - is the backup project the data is mapped from
issueTypeMapper - is the populated issueTypeMapper
Returns:
a MessageSet that will contain any generated errors (which should stop the import) or warnings (which should be displayed to the user). The error and warning collection's will be empty if all validation passes.


Copyright © 2002-2012 Atlassian. All Rights Reserved.