com.atlassian.jira.imports.config
Interface ValueMappingDefinition

All Known Implementing Classes:
AbstractValueMappingDefinition, ComputerValueMapper, FullNameValueMapper, IssueCategoryValueMapper, PriorityValueMapper

public interface ValueMappingDefinition

Interface that defines what a field being mapped in an importer looks like


Method Summary
 String getDescription()
           
 Collection getDistinctValues()
          Returns the number of unique values for this field
 String getJiraFieldId()
          If the field the mapping definition will map to in JIRA is known, else null
 String getName()
          The name of the field being mapped, usually corresponds to the field name from the data source
 

Method Detail

getName

String getName()
The name of the field being mapped, usually corresponds to the field name from the data source

Returns:
String name of field

getDescription

String getDescription()

getDistinctValues

Collection getDistinctValues()
Returns the number of unique values for this field

Returns:
Number of unique values. If null, then the count will be "Unknown". This may be done for perfomance reasons.

getJiraFieldId

String getJiraFieldId()
If the field the mapping definition will map to in JIRA is known, else null

Returns:
Returns the id of the field being mapped. This should match Field.getId() of the corresponding field


Copyright © 2002-2008 Atlassian. All Rights Reserved.