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) |
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) |
MessageSet |
ProjectImportService.validateBackupProjectImportableSystemLevel(JiraServiceContext jiraServiceContext,
BackupProject project,
BackupSystemInformation backupSystemInformation)
Returns a MessageSet which reports if the provided BackupProject meets the JIRA system requirements
to be imported.
|
MessageSet |
DefaultProjectImportService.validateBackupProjectImportableSystemLevel(JiraServiceContext jiraServiceContext,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation) |
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) |
Modifier and Type | Method and Description |
---|---|
BackupProject |
ReferenceAoPreImport.getBackupProject() |
BackupProject |
ReferenceOfBizImport.getBackupProject() |
BackupProject |
ReferenceOfBizPreImport.getBackupProject() |
BackupProject |
ReferenceAoImport.getBackupProject() |
Modifier and Type | Method and Description |
---|---|
void |
ReferenceAoPreImport.setBackupProject(BackupProject backupProject) |
void |
ReferenceOfBizImport.setBackupProject(BackupProject backupProject) |
void |
ReferenceOfBizPreImport.setBackupProject(BackupProject backupProject) |
void |
ReferencePostImportPluginModule.setBackupProject(BackupProject backupProject) |
void |
ReferenceAoImport.setBackupProject(BackupProject backupProject) |
void |
ReferencePreImportPluginModule.setBackupProject(BackupProject backupProject) |
ValidationMessage |
ReferenceProjectImportValidator.validate(BackupProject backupProject,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultProjectImportManager.autoMapAndValidateCustomFields(ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
I18nHelper i18nBean) |
void |
ProjectImportManager.autoMapAndValidateCustomFields(ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
I18nHelper i18nBean)
Performs an automatic mapping of the custom fields from the backup system to the current systems custom field's and
validates that all mappings are possible.
|
void |
DefaultProjectImportManager.autoMapAndValidateIssueTypes(ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
I18nHelper i18nBean) |
void |
ProjectImportManager.autoMapAndValidateIssueTypes(ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
I18nHelper i18nBean)
Performs an automatic mapping of the IssueTypes from the backup system to the current systems issue types and
validates that all mappings are possible.
|
void |
DefaultProjectImportManager.autoMapCustomFieldOptions(ProjectImportData projectImportData,
BackupProject backupProject) |
void |
ProjectImportManager.autoMapCustomFieldOptions(ProjectImportData projectImportData,
BackupProject backupProject)
Performs an automatic mapping of the custom field options from the backup system to the current systems values.
|
void |
DefaultProjectImportManager.autoMapSystemFields(ProjectImportData projectImportData,
BackupProject backupProject) |
void |
ProjectImportManager.autoMapSystemFields(ProjectImportData projectImportData,
BackupProject backupProject)
Performs an automatic mapping of the system fields from the backup system to the current systems system
field values The fields that are mapped are:
Priority
Resolution
Status
IssueLinkTypes
Projects
IssueSecurityLevels
|
Map<String,ProjectComponent> |
DefaultProjectImportPersister.createComponents(BackupProject backupProject,
ProjectImportMapper projectImportMapper) |
Map<String,ProjectComponent> |
ProjectImportPersister.createComponents(BackupProject backupProject,
ProjectImportMapper projectImportMapper)
Creates the components, specified by
getProjectComponents()
for the named backup project. |
Map<String,Version> |
DefaultProjectImportPersister.createVersions(BackupProject backupProject) |
Map<String,Version> |
ProjectImportPersister.createVersions(BackupProject backupProject)
Creates the versions, specified by
getProjectVersions()
for the named backup project. |
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.
|
List<ValidationMessage> |
DefaultProjectImportManager.doPluginValidation(BackupProject backupProject,
TaskProgressInterval sysFieldSubInterval,
I18nHelper i18n) |
List<ValidationMessage> |
ProjectImportManager.doPluginValidation(BackupProject backupProject,
TaskProgressInterval taskProgressInterval,
I18nHelper i18n)
Call any plugin handlers that have registered to do validation
|
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 |
DefaultProjectImportPersister.updateProjectIssueCounter(BackupProject backupProject,
long counter) |
void |
ProjectImportPersister.updateProjectIssueCounter(BackupProject backupProject,
long counter)
Updates a projects issue counter, which is used to determine the numeric portion of the issue key.
|
void |
DefaultProjectImportManager.validateCustomFieldValues(ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
TaskProgressProcessor taskProgressProcessor,
I18nHelper i18n) |
void |
ProjectImportManager.validateCustomFieldValues(ProjectImportData projectImportData,
MappingResult mappingResult,
BackupProject backupProject,
TaskProgressProcessor taskProgressProcessor,
I18nHelper i18nBean)
Parses the partitioned custom field value XML and gets the custom fields to validate that they can handle the values.
|
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 | Method and Description |
---|---|
void |
AoPartitionHandler.setBackupProject(BackupProject backupProject) |
ValidationMessage |
PluggableValidator.validate(BackupProject backupProject,
I18nHelper i18n) |
Modifier and Type | Class and Description |
---|---|
class |
BackupProjectImpl |
Modifier and Type | Method and Description |
---|---|
BackupProject |
BackupOverviewImpl.getProject(String projectKey) |
BackupProject |
BackupOverview.getProject(String projectKey)
Gets a
BackupProject by the projectKey. |
Modifier and Type | Method and Description |
---|---|
int |
BackupProjectNameComparator.compare(BackupProject bp1,
BackupProject bp2) |
Constructor and Description |
---|
BackupOverviewImpl(BackupSystemInformation backupSystemInformation,
List<? extends BackupProject> backupProjects) |
Modifier and Type | Method and Description |
---|---|
void |
PluggableImportHandler.setBackupProject(BackupProject backupProject)
Set the backup project.
|
Modifier and Type | Method and Description |
---|---|
void |
AutomaticDataMapper.mapCustomFieldOptions(BackupProject backupProject,
CustomFieldOptionMapper customFieldOptionMapper,
CustomFieldMapper customFieldMapper,
IssueTypeMapper issueTypeMapper)
Automatically map custom field options in the given mapper.
|
void |
AutomaticDataMapperImpl.mapCustomFieldOptions(BackupProject backupProject,
CustomFieldOptionMapper customFieldOptionMapper,
CustomFieldMapper customFieldMapper,
IssueTypeMapper issueTypeMapper)
Automatically map custom field options in the given mapper.
|
void |
AutomaticDataMapper.mapCustomFields(BackupProject backupProject,
CustomFieldMapper customFieldMapper,
IssueTypeMapper issueTypeMapper)
Automatically map Custom Fields in the given mapper.
|
void |
AutomaticDataMapperImpl.mapCustomFields(BackupProject backupProject,
CustomFieldMapper customFieldMapper,
IssueTypeMapper issueTypeMapper) |
void |
AutomaticDataMapper.mapIssueTypes(BackupProject backupProject,
IssueTypeMapper issueTypeMapper)
Populates the issueTypeMapper with the issue type mappings that are relevant to the backup project.
|
void |
AutomaticDataMapperImpl.mapIssueTypes(BackupProject backupProject,
IssueTypeMapper issueTypeMapper) |
void |
AutomaticDataMapper.mapStatuses(BackupProject backupProject,
StatusMapper statusMapper,
IssueTypeMapper issueTypeMapper)
Automatically map Statuses in the given mapper.
|
void |
AutomaticDataMapperImpl.mapStatuses(BackupProject backupProject,
StatusMapper statusMapper,
IssueTypeMapper issueTypeMapper) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
SystemFieldsMaxTextLengthValidator.validate(BackupProject backupProject,
I18nHelper i18nHelper) |
void |
CustomFieldOptionMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
CustomFieldOptionMapper customFieldOptionMapper,
CustomFieldMapper customFieldMapper,
Map<String,MessageSet> customFieldValueMessageSets) |
void |
CustomFieldOptionMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
CustomFieldOptionMapper customFieldOptionMapper,
CustomFieldMapper customFieldMapper,
Map<String,MessageSet> customFieldValueMessageSets)
Validates the automatic mappings that have been created to see if the mappings are relevant in the current JIRA instances setup.
|
MessageSet |
IssueLinkTypeMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueLinkTypeMapper issueLinkTypeMapper)
This validator makes sure that the IssueLinkTypes that are required:
exist in the current instance
is or is not a subtask link as appropriate
|
MessageSet |
IssueLinkTypeMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueLinkTypeMapper issueLinkTypeMapper) |
MessageSet |
IssueTypeMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper)
Makes sure that the issue types that are required:
exists in the current instance
is valid for the current projects issue type scheme
is or is not a subtask based on how the issue type was defined in the backup system
|
MessageSet |
IssueTypeMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper) |
MessageSet |
CustomFieldMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
CustomFieldMapper customFieldMapper) |
MessageSet |
CustomFieldMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
CustomFieldMapper customFieldMapper)
Validates the automatic mappings that have been created to see if the mappings are relevant in the current
JIRA instances setup.
|
MessageSet |
StatusMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
StatusMapper statusMapper)
Makes sure that the statuses that are required:
exist in the current instance
are valid for the issue type registered based on the workflow associated with the project being restored
|
MessageSet |
StatusMapperValidatorImpl.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
IssueTypeMapper issueTypeMapper,
StatusMapper statusMapper) |
MessageSet |
ProjectAwareMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
SimpleProjectImportIdMapper simpleProjectImportIdMapper)
This is a simple validation method that will only check to see that all the required values of the
provided mapper have been mapped to the current instance of JIRA.
|
MessageSet |
PriorityMapperValidator.validateMappings(I18nHelper i18nHelper,
BackupProject backupProject,
SimpleProjectImportIdMapper simpleProjectImportIdMapper)
Validates the following conditions:
- all priorities that appeared in imported issues have to be present in current jira instance
- there is one special case - when imported issue had invalid priority already on the previous instance (eg.
|
MessageSet |
IssueSecurityLevelValidator.validateMappings(SimpleProjectImportIdMapper issueSecurityLevelMapper,
BackupProject backupProject,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
BackupProject |
ProjectImportBean.getSelectedProject()
This is a convenience method that looks up the selected project if there is one.
|
Modifier and Type | Method and Description |
---|---|
String |
ProjectImportSelectProject.getJsonProject(BackupProject project) |
Copyright © 2002-2018 Atlassian. All Rights Reserved.