com.atlassian.jira.imports.project.validation
Class ProjectRoleActorMapperValidatorImpl
java.lang.Object
com.atlassian.jira.imports.project.validation.ProjectRoleActorMapperValidatorImpl
- All Implemented Interfaces:
- ProjectRoleActorMapperValidator
public class ProjectRoleActorMapperValidatorImpl
- extends Object
- implements ProjectRoleActorMapperValidator
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectRoleActorMapperValidatorImpl
public ProjectRoleActorMapperValidatorImpl(UserManager userManager)
validateProjectRoleActors
public MessageSet validateProjectRoleActors(I18nHelper i18nHelper,
ProjectImportMapper projectImportMapper,
ProjectImportOptions projectImportOptions)
- Description copied from interface:
ProjectRoleActorMapperValidator
- Makes sure that the ProjectRoleActors that we want to add to the project roles actually exist.
- Specified by:
validateProjectRoleActors
in interface ProjectRoleActorMapperValidator
- Parameters:
i18nHelper
- helper bean that allows us to get i18n translationsprojectImportMapper
- contains the project, version, and component mappers.projectImportOptions
- User options for the project import, including the pathToBackupXML, attachmentPath, and "overwriteProjectDetails" flag.
- 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 or if
ProjectImportOptions.overwriteProjectDetails()
is false.
Copyright © 2002-2012 Atlassian. All Rights Reserved.