com.atlassian.jira.imports.fogbugz
Class FogBugzConfigBean
java.lang.Object
com.atlassian.jira.imports.importer.impl.AbstractConfigBean
com.atlassian.jira.imports.fogbugz.FogBugzConfigBean
- All Implemented Interfaces:
- ImportConfigBean
public class FogBugzConfigBean
- extends AbstractConfigBean
- implements ImportConfigBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionBean
protected FogBugzConnectionBean connectionBean
configFileLocation
protected String configFileLocation
FogBugzConfigBean
public FogBugzConfigBean(FogBugzConnectionBean connectionBean,
org.apache.commons.configuration.PropertiesConfiguration configFile)
validateRequiredStatuses
public void validateRequiredStatuses(ErrorCollection errors)
getFogBugzProjectNames
public List getFogBugzProjectNames()
getProjectKey
public String getProjectKey(String projectName)
populateProjectKeyMappings
public void populateProjectKeyMappings(Map actionParams)
getProjectCategoryFieldName
public String getProjectCategoryFieldName(String projectName)
getProjectCategories
public Collection getProjectCategories()
getProjectCategory
public String getProjectCategory(String projectName)
getFogBugzFieldNames
public List getFogBugzFieldNames()
getAvailableFieldMappings
public Map getAvailableFieldMappings()
getFieldMapping
public String getFieldMapping(String fieldName)
isSelectedFieldMapping
public boolean isSelectedFieldMapping(String fieldName,
String mappedField)
populateFieldMappings
public void populateFieldMappings(Map actionParams)
getValueMappingHelper
public ValueMappingHelper getValueMappingHelper()
getUsernameForFullName
public String getUsernameForFullName(String sFullName)
getFogBugzLinkNames
public List getFogBugzLinkNames()
getAvailableLinkMappings
public Collection getAvailableLinkMappings()
getLinkMapping
public String getLinkMapping(String linkName)
populateLinkMappings
public void populateLinkMappings(Map actionParams)
saveToFile
public void saveToFile(File fileToSaveTo)
throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
getNewConfigurationFile
public org.apache.commons.configuration.PropertiesConfiguration getNewConfigurationFile()
getConfigFileText
public String getConfigFileText()
throws IOException,
org.apache.commons.configuration.ConfigurationException
- Reads the current configuration as a file formatted as text
- Returns:
- content of the temp config file
- Throws:
IOException
- if creation of temp file fails
org.apache.commons.configuration.ConfigurationException
- if writing to the temp file fails
getConfigFileLocation
public String getConfigFileLocation()
getConnectionBean
public FogBugzConnectionBean getConnectionBean()
Copyright © 2002-2009 Atlassian. All Rights Reserved.