com.atlassian.jira.imports.project.validation
Class IssueTypeMapperValidatorImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.validation.IssueTypeMapperValidatorImpl
All Implemented Interfaces:
IssueTypeMapperValidator

public class IssueTypeMapperValidatorImpl
extends Object
implements IssueTypeMapperValidator

Since:
v3.13

Constructor Summary
IssueTypeMapperValidatorImpl(ConstantsManager constantsManager, IssueTypeImportHelper issueTypeImportHelper, SubTaskManager subTaskManager)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueTypeMapperValidatorImpl

public IssueTypeMapperValidatorImpl(ConstantsManager constantsManager,
                                    IssueTypeImportHelper issueTypeImportHelper,
                                    SubTaskManager subTaskManager)
Method Detail

validateMappings

public MessageSet validateMappings(I18nHelper i18nHelper,
                                   BackupProject backupProject,
                                   IssueTypeMapper issueTypeMapper)
Description copied from interface: IssueTypeMapperValidator
Makes sure that the issue types that are required:

Specified by:
validateMappings in interface IssueTypeMapperValidator
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-2014 Atlassian. All Rights Reserved.