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

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

public class IssueLinkTypeMapperValidatorImpl
extends java.lang.Object
implements IssueLinkTypeMapperValidator

Since:
v3.13

Constructor Summary
IssueLinkTypeMapperValidatorImpl(IssueLinkTypeManager issueLinkTypeManager, SubTaskManager subTaskManager, ApplicationProperties applicationProperties)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueLinkTypeMapperValidatorImpl

public IssueLinkTypeMapperValidatorImpl(IssueLinkTypeManager issueLinkTypeManager,
                                        SubTaskManager subTaskManager,
                                        ApplicationProperties applicationProperties)
Method Detail

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:

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