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

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

public class ProjectRoleActorMapperValidatorImpl
extends Object
implements ProjectRoleActorMapperValidator

Since:
v3.13

Constructor Summary
ProjectRoleActorMapperValidatorImpl(UserManager userManager)
           
 
Method Summary
 MessageSet validateProjectRoleActors(I18nHelper i18nHelper, ProjectImportMapper projectImportMapper, ProjectImportOptions projectImportOptions)
          Makes sure that the ProjectRoleActors that we want to add to the project roles actually exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectRoleActorMapperValidatorImpl

public ProjectRoleActorMapperValidatorImpl(UserManager userManager)
Method Detail

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 translations
projectImportMapper - 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-2013 Atlassian. All Rights Reserved.