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
 java.lang.String getDescription()
           
 java.util.Collection getDistinctValues()
          Returns the number of unique values for this field
 java.lang.String getJiraFieldId()
          If the field the mapping definition will map to in JIRA is known, else null
 java.lang.String getName()
          The name of the field being mapped, usually corresponds to the field name from the data source
 

Method Detail

getName

java.lang.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

java.lang.String getDescription()

getDistinctValues

java.util.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

java.lang.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-2011 Atlassian. All Rights Reserved.