public interface

MapperValidator

com.atlassian.jira.imports.project.validation.MapperValidator
Known Indirect Subclasses

Class Overview

Validates a Project Import Mapper.

Summary

Public Methods
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.

Public Methods

public 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.