Interface ProjectAwareMapperValidator

All Known Implementing Classes:
PriorityMapperValidator

public interface ProjectAwareMapperValidator
Validates if mapping in passed simpleProjectImportIdMapper is correct in current JIRA instance and provided destination project (backupProject).
Since:
v7.6
  • Method Summary

    Modifier and Type
    Method
    Description
    validateMappings(I18nHelper i18nHelper, BackupProject backupProject, 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, BackupProject backupProject, 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. It's aware of destination project so it can check eg. for proper values in various schemes (issue type scheme, priority scheme etc.)

      If there is a required value that is missing the message collection will contain an error.

      Parameters:
      i18nHelper - used to resolve i18n messages
      backupProject - imported project
      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.