Modifier and Type | Method and Description |
---|---|
ProjectImportResults |
ProjectImportService.doImport(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportData projectImportData,
TaskProgressInterval taskProgressInterval)
Imports the passed in project using the provided, populated and validated, project import mapper.
|
ProjectImportResults |
DefaultProjectImportService.doImport(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportData projectImportData,
TaskProgressInterval taskProgressInterval) |
MappingResult |
ProjectImportService.doMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval)
Will use the initial data in the ProjectImportData to perform automappings based on the current state of JIRA
and then will validate those mappings.
|
MappingResult |
DefaultProjectImportService.doMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval) |
BackupOverview |
ProjectImportService.getBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
TaskProgressSink taskProgressSink)
Returns a BackupOverview object containing the overview of information from the backup file if the backup files
build number and edition match those of the running instance of JIRA.
|
BackupOverview |
DefaultProjectImportService.getBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
TaskProgressSink taskProgressSink) |
ProjectImportData |
ProjectImportService.getProjectImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval)
Makes a pass through the provided JIRA ZIP backup data and creates a ProjectImportMapper and partitions the XML
data for the project.
|
ProjectImportData |
DefaultProjectImportService.getProjectImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval) |
MessageSet |
ProjectImportService.preProcessAoImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval)
Makes a pass through the provided AO XML backup data and partitions the XML allowing plugins to process listen to
each element as it passes,
|
MessageSet |
DefaultProjectImportService.preProcessAoImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval) |
void |
ProjectImportService.validateDoMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation)
Validates if the user has permission to create a project import mapper and partition the input data and if the
provided path's and backup project exist.
|
void |
DefaultProjectImportService.validateDoMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation) |
void |
ProjectImportService.validateGetBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions)
Validates if the user has permission to start a project import and if the provided path's exist.
|
void |
DefaultProjectImportService.validateGetBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultProjectImportManager.doImport(ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportResults projectImportResults,
TaskProgressInterval taskProgressInterval,
I18nHelper i18n,
ApplicationUser importAuthor) |
void |
ProjectImportManager.doImport(ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportResults projectImportResults,
TaskProgressInterval taskProgressInterval,
I18nHelper i18n,
ApplicationUser importAuthor)
This will perform the project import based on the mappings provided.
|
ProjectImportData |
DefaultProjectImportManager.getProjectImportData(ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressProcessor taskProgressProcessor) |
ProjectImportData |
ProjectImportManager.getProjectImportData(ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressProcessor taskProgressProcessor)
Parses through the provided JIRA XML backup file and creates a MappingResult.
|
void |
DefaultProjectImportManager.importProject(ProjectImportOptions projectImportOptions,
ProjectImportMapper projectImportMapper,
BackupProject backupProject,
ProjectImportResults projectImportResults,
TaskProgressInterval taskProgressInterval) |
void |
ProjectImportManager.importProject(ProjectImportOptions projectImportOptions,
ProjectImportMapper projectImportMapper,
BackupProject backupProject,
ProjectImportResults projectImportResults,
TaskProgressInterval taskProgressInterval)
This will create or update a project and all its versions, components, and project role membership.
|
void |
DefaultProjectImportManager.validateFileAttachments(ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressProcessor taskProgressProcessor,
I18nHelper i18n) |
void |
ProjectImportManager.validateFileAttachments(ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressProcessor taskProgressProcessor,
I18nHelper i18n)
Parses the partitioned file attachment XML and validates that the referenced file attachment exists in the
user provided attachment directory.
|
void |
DefaultProjectImportManager.validateSystemFields(ProjectImportData projectImportData,
MappingResult mappingResult,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
TaskProgressInterval taskProgressInterval,
I18nHelper i18nBean) |
void |
ProjectImportManager.validateSystemFields(ProjectImportData projectImportData,
MappingResult mappingResult,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
TaskProgressInterval taskProgressInterval,
I18nHelper i18nBean)
Validates that all mappings are possible.
|
Modifier and Type | Class and Description |
---|---|
class |
ProjectImportOptionsImpl |
Modifier and Type | Method and Description |
---|---|
static boolean |
AttachmentFileValidatorHandler.canProcessEntity(String entityName,
ProjectImportOptions projectImportOptions) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
ProjectRoleActorMapperValidator.validateProjectRoleActors(I18nHelper i18nHelper,
ProjectImportMapper projectImportMapper,
ProjectImportOptions projectImportOptions)
Makes sure that the ProjectRoleActors that we want to add to the project roles actually exist.
|
MessageSet |
ProjectRoleActorMapperValidatorImpl.validateProjectRoleActors(I18nHelper i18nHelper,
ProjectImportMapper projectImportMapper,
ProjectImportOptions projectImportOptions) |
Copyright © 2002-2018 Atlassian. All Rights Reserved.