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

All Known Implementing Classes:
IssueLinkTypeMapperValidatorImpl

public interface IssueLinkTypeMapperValidator

Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instance. This validator makes sure that the IssueLinkTypes that are required:

Since:
v3.13

Method Summary
 MessageSet validateMappings(I18nHelper i18nHelper, BackupProject backupProject, IssueLinkTypeMapper issueLinkTypeMapper)
          This validator makes sure that the IssueLinkTypes that are required: exist in the current instance is or is not a subtask link as appropriate
 

Method Detail

validateMappings

MessageSet validateMappings(I18nHelper i18nHelper,
                            BackupProject backupProject,
                            IssueLinkTypeMapper issueLinkTypeMapper)
This validator makes sure that the IssueLinkTypes that are required:

Parameters:
i18nHelper - helper bean that allows us to get i18n translations
backupProject - is the backup project the data is mapped from
issueLinkTypeMapper - is the populated issueLinkTypeMapper
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-2013 Atlassian. All Rights Reserved.