com.atlassian.jira.imports.project.validation
Class UserMapperValidatorImpl

java.lang.Object
  extended by com.atlassian.jira.imports.project.validation.UserMapperValidatorImpl
All Implemented Interfaces:
UserMapperValidator

public class UserMapperValidatorImpl
extends Object
implements UserMapperValidator

Since:
v3.13

Constructor Summary
UserMapperValidatorImpl(UserManager userManager)
           
 
Method Summary
 MessageSet validateMappings(I18nHelper i18nHelper, UserMapper userMapper)
          This validator makes sure that the Users that are required: exist in the current instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserMapperValidatorImpl

public UserMapperValidatorImpl(UserManager userManager)
Method Detail

validateMappings

public MessageSet validateMappings(I18nHelper i18nHelper,
                                   UserMapper userMapper)
Description copied from interface: UserMapperValidator
This validator makes sure that the Users that are required:

Specified by:
validateMappings in interface UserMapperValidator
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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.