com.atlassian.jira.imports.project.validation
Class IssueTypeMapperValidatorImpl
java.lang.Object
com.atlassian.jira.imports.project.validation.IssueTypeMapperValidatorImpl
- All Implemented Interfaces:
- IssueTypeMapperValidator
public class IssueTypeMapperValidatorImpl
- extends Object
- implements IssueTypeMapperValidator
- 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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueTypeMapperValidatorImpl
public IssueTypeMapperValidatorImpl(ConstantsManager constantsManager,
IssueTypeImportHelper issueTypeImportHelper,
SubTaskManager subTaskManager)
validateMappings
public MessageSet validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper)
- Description copied from interface:
IssueTypeMapperValidator
- 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
- Specified by:
validateMappings
in interface IssueTypeMapperValidator
- Parameters:
i18nHelper
- helper bean that allows us to get i18n translationsbackupProject
- is the backup project the data is mapped fromissueTypeMapper
- 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-2013 Atlassian. All Rights Reserved.