com.atlassian.jira.imports.project.validation
Interface ProjectRoleActorMapperValidator

All Known Implementing Classes:
ProjectRoleActorMapperValidatorImpl

public interface ProjectRoleActorMapperValidator

Finds any ProjectRoleActors that cannot be automatically added to the Project Role for the imported project and reports these as validation warnings.

Since:
v3.13

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.
 

Method Detail

validateProjectRoleActors

MessageSet validateProjectRoleActors(I18nHelper i18nHelper,
                                     ProjectImportMapper projectImportMapper,
                                     ProjectImportOptions projectImportOptions)
Makes sure that the ProjectRoleActors that we want to add to the project roles actually exist.

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-2010 Atlassian. All Rights Reserved.