Interface MapperValidator

All Known Implementing Classes:
AbstractSimpleMapperValidator, GroupMapperValidator, ResolutionMapperValidator

public interface MapperValidator
Validates a Project Import Mapper.
Since:
v3.13
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

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