com.atlassian.jira.imports.project.validation
Class IssueLinkTypeMapperValidatorImpl
java.lang.Object
com.atlassian.jira.imports.project.validation.IssueLinkTypeMapperValidatorImpl
- All Implemented Interfaces:
- IssueLinkTypeMapperValidator
public class IssueLinkTypeMapperValidatorImpl
- extends Object
- implements IssueLinkTypeMapperValidator
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueLinkTypeMapperValidatorImpl
public IssueLinkTypeMapperValidatorImpl(IssueLinkTypeManager issueLinkTypeManager,
SubTaskManager subTaskManager,
ApplicationProperties applicationProperties)
validateMappings
public MessageSet validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueLinkTypeMapper issueLinkTypeMapper)
- Description copied from interface:
IssueLinkTypeMapperValidator
- This validator makes sure that the IssueLinkTypes that are required:
- exist in the current instance
- is or is not a subtask link as appropriate
- Specified by:
validateMappings
in interface IssueLinkTypeMapperValidator
- Parameters:
i18nHelper
- helper bean that allows us to get i18n translationsbackupProject
- is the backup project the data is mapped fromissueLinkTypeMapper
- 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.