public class ProjectImportMapperImpl extends Object implements ProjectImportMapper
| Constructor and Description |
|---|
ProjectImportMapperImpl(UserUtil userUtil,
GroupManager groupManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMappedValues()
This will clear any mapped data that may have been entered into the mappers.
|
SimpleProjectImportIdMapper |
getChangeGroupMapper()
Gets a ProjectImportIdMapper that maps the change group id's from the old backup project data to the id's
generated when adding the change group data to the new JIRA instance.
|
SimpleProjectImportIdMapper |
getCommentMapper()
Gets a ProjectImportIdMapper that maps the Comment id's from the old backup project data to the id's
in the current system.
|
SimpleProjectImportIdMapper |
getComponentMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the project components "in-use" (required) by the backup projects
data.
|
CustomFieldMapper |
getCustomFieldMapper()
Gets a CustomFieldMapper which, when fully populated, indicates all the custom fields "in-use" (required) by the backup projects
data.
|
CustomFieldOptionMapper |
getCustomFieldOptionMapper()
Gets a CustomFieldOptionMapper which, when fully populated, indicates how to map the IDs of the Custom Field Options
in the Import file, to the equivalent Option in the current JIRA.
|
GroupMapper |
getGroupMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the groups "in-use" (required) by the backup projects
data.
|
IssueLinkTypeMapper |
getIssueLinkTypeMapper()
Gets a ProjectImportIdMapper that maps the IssueLinkType id's from the old backup project data to the id's
in the current system.
|
SimpleProjectImportIdMapper |
getIssueMapper()
Gets a ProjectImportIdMapper that maps the issue id's from the old backup project data to the id's
generated when adding the issue data to the new JIRA instance.
|
SimpleProjectImportIdMapper |
getIssueSecurityLevelMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the issue security levels "in-use" (required) by the backup projects
data.
|
IssueTypeMapper |
getIssueTypeMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the issue issue types "in-use" (required) by the backup projects
data.
|
<T extends ProjectImportIdMapper> |
getNamedIdMapper(String name)
Get a mapper from the list of mappers.
|
SimpleProjectImportIdMapper |
getPriorityMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the issue priorities "in-use" (required) by the backup projects
data.
|
SimpleProjectImportIdMapper |
getProjectMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the projects from the backup file and
the mapped projects in the current JIRA instance.
|
ProjectRoleActorMapper |
getProjectRoleActorMapper()
Gets a ProjectRoleActorMapper which, when fully populated, indicates all the ProjectRoleActors "in-use" (optional) by the backup
projects data's issues.
|
SimpleProjectImportIdMapper |
getProjectRoleMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the project roles "in-use" (required) by the backup projects
data.
|
SimpleProjectImportIdMapper |
getResolutionMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the issue resolutions "in-use" (required) by the backup projects
data.
|
StatusMapper |
getStatusMapper()
Gets a StatusMapper which, when fully populated, indicates all the issue statuses "in-use" (required) by the backup projects
data.
|
UserMapper |
getUserMapper()
Gets a UserMapper which, when fully populated, indicates all the users "in-use" (required) by the backup
projects data's issues.
|
SimpleProjectImportIdMapper |
getVersionMapper()
Gets a ProjectImportIdMapper which, when fully populated, indicates all the project versions "in-use" (required) by the backup projects
data.
|
ProjectImportIdMapper |
putNamedIdMapper(String name,
ProjectImportIdMapper mapper)
Add a mapper to the list of mappers.
|
String |
toString() |
public ProjectImportMapperImpl(UserUtil userUtil, GroupManager groupManager)
public SimpleProjectImportIdMapper getIssueMapper()
ProjectImportMapperNOTE: This is only populated once the issues have been persisted into the new system.
getIssueMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getProjectMapper()
ProjectImportMappergetProjectMapper in interface ProjectImportMapperpublic UserMapper getUserMapper()
ProjectImportMappergetUserMapper in interface ProjectImportMapperpublic ProjectRoleActorMapper getProjectRoleActorMapper()
ProjectImportMappergetProjectRoleActorMapper in interface ProjectImportMapperpublic GroupMapper getGroupMapper()
ProjectImportMappergetGroupMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getIssueSecurityLevelMapper()
ProjectImportMappergetIssueSecurityLevelMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getVersionMapper()
ProjectImportMappergetVersionMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getComponentMapper()
ProjectImportMappergetComponentMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getProjectRoleMapper()
ProjectImportMappergetProjectRoleMapper in interface ProjectImportMapperpublic CustomFieldMapper getCustomFieldMapper()
ProjectImportMappergetCustomFieldMapper in interface ProjectImportMapperpublic CustomFieldOptionMapper getCustomFieldOptionMapper()
ProjectImportMappergetCustomFieldOptionMapper in interface ProjectImportMapperpublic IssueTypeMapper getIssueTypeMapper()
ProjectImportMappergetIssueTypeMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getPriorityMapper()
ProjectImportMappergetPriorityMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getResolutionMapper()
ProjectImportMappergetResolutionMapper in interface ProjectImportMapperpublic StatusMapper getStatusMapper()
ProjectImportMappergetStatusMapper in interface ProjectImportMapperpublic IssueLinkTypeMapper getIssueLinkTypeMapper()
ProjectImportMappergetIssueLinkTypeMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getChangeGroupMapper()
ProjectImportMapperNOTE: This is only populated once the change groups have been persisted into the new system.
getChangeGroupMapper in interface ProjectImportMapperpublic SimpleProjectImportIdMapper getCommentMapper()
ProjectImportMappergetCommentMapper in interface ProjectImportMapperpublic void clearMappedValues()
ProjectImportMapperclearMappedValues in interface ProjectImportMapperpublic ProjectImportIdMapper putNamedIdMapper(String name, ProjectImportIdMapper mapper)
ProjectImportMapperputNamedIdMapper in interface ProjectImportMappername - The name for this mapper. Plugins should namespace their mappers to avoid conflicts.mapper - A ProjectImportIdMapperpublic <T extends ProjectImportIdMapper> T getNamedIdMapper(String name)
ProjectImportMappergetNamedIdMapper in interface ProjectImportMappername - The name for this mapper. Plugins should namespace their mappers to avoid conflicts.Copyright © 2002-2019 Atlassian. All Rights Reserved.