public class

UserMapperValidatorImpl

extends Object
implements UserMapperValidator
java.lang.Object
   ↳ com.atlassian.jira.imports.project.validation.UserMapperValidatorImpl

Summary

Public Constructors
UserMapperValidatorImpl(UserManager userManager)
Public Methods
MessageSet validateMappings(I18nHelper i18nHelper, UserMapper userMapper)
This validator makes sure that the Users that are required:
  • exist in the current instance
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.imports.project.validation.UserMapperValidator

Public Constructors

public UserMapperValidatorImpl (UserManager userManager)

Public Methods

public MessageSet validateMappings (I18nHelper i18nHelper, UserMapper userMapper)

This validator makes sure that the Users that are required:

  • exist in the current instance

Parameters
i18nHelper helper bean that allows us to get i18n translations
userMapper is the populated UserMapper
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.