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

All Known Implementing Classes:
AbstractSimpleMapperValidator, GroupMapperValidator, PriorityMapperValidator, ResolutionMapperValidator

public interface MapperValidator

Validates a Project Import Mapper.

Since:
v3.13

Method Summary
 MessageSet validateMappings(I18nHelper i18nHelper, SimpleProjectImportIdMapper simpleProjectImportIdMapper)
          This is a simple validation method that will only check to see that all the required values of the provided mapper have been mapped to the current instance of JIRA.
 

Method Detail

validateMappings

MessageSet validateMappings(I18nHelper i18nHelper,
                            SimpleProjectImportIdMapper simpleProjectImportIdMapper)
This is a simple validation method that will only check to see that all the required values of the provided mapper have been mapped to the current instance of JIRA. If there is a required value that is missing the message collection will contain an error.

Parameters:
i18nHelper - used to resolve i18n messages
simpleProjectImportIdMapper - the mapper that will be inspected to make sure that all its required values are mapped.
Returns:
a MessageSet that will contain any errors or warnings that have been encountered.


Copyright © 2002-2012 Atlassian. All Rights Reserved.