com.atlassian.jira.imports.importer.impl
Class ImportObjectIdMappings

java.lang.Object
  extended by com.atlassian.jira.imports.importer.impl.ImportObjectIdMappings

public class ImportObjectIdMappings
extends Object


Constructor Summary
ImportObjectIdMappings()
           
 
Method Summary
 void addComponentMapping(String externalProject, String externalComponent, org.ofbiz.core.entity.GenericValue component)
           
 void addIssueKeyMapping(String oldId, String jiraIssueKey)
           
 void addProjectMapping(String externalProject, org.ofbiz.core.entity.GenericValue jiraProject)
           
 void addVersionMapping(String externalProject, String externalVersion, Version version)
           
 org.ofbiz.core.entity.GenericValue getComponent(String externalProject, String externalComponent)
           
 String getIssueKey(String oldId)
           
 Map getIssueKeyMappings()
           
 org.ofbiz.core.entity.GenericValue getProject(String externalProject)
           
 Version getVersion(String externalProject, String externalVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportObjectIdMappings

public ImportObjectIdMappings()
Method Detail

addProjectMapping

public void addProjectMapping(String externalProject,
                              org.ofbiz.core.entity.GenericValue jiraProject)

getProject

public org.ofbiz.core.entity.GenericValue getProject(String externalProject)

addVersionMapping

public void addVersionMapping(String externalProject,
                              String externalVersion,
                              Version version)

getVersion

public Version getVersion(String externalProject,
                          String externalVersion)

addComponentMapping

public void addComponentMapping(String externalProject,
                                String externalComponent,
                                org.ofbiz.core.entity.GenericValue component)

getComponent

public org.ofbiz.core.entity.GenericValue getComponent(String externalProject,
                                                       String externalComponent)

addIssueKeyMapping

public void addIssueKeyMapping(String oldId,
                               String jiraIssueKey)

getIssueKey

public String getIssueKey(String oldId)

getIssueKeyMappings

public Map getIssueKeyMappings()


Copyright © 2002-2008 Atlassian. All Rights Reserved.