com.atlassian.jira.imports.project.validation
Class UserMapperValidatorImpl
java.lang.Object
com.atlassian.jira.imports.project.validation.UserMapperValidatorImpl
- All Implemented Interfaces:
- UserMapperValidator
public class UserMapperValidatorImpl
- extends Object
- implements UserMapperValidator
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserMapperValidatorImpl
public UserMapperValidatorImpl(UserManager userManager)
validateMappings
public MessageSet validateMappings(I18nHelper i18nHelper,
UserMapper userMapper)
- Description copied from interface:
UserMapperValidator
- This validator makes sure that the Users that are required:
- exist in the current instance
- Specified by:
validateMappings
in interface UserMapperValidator
- Parameters:
i18nHelper
- helper bean that allows us to get i18n translationsuserMapper
- 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-2013 Atlassian. All Rights Reserved.