com.atlassian.jira.imports.fogbugz.config
Class PriorityValueMapper

java.lang.Object
  extended by com.atlassian.jira.imports.config.AbstractValueMappingDefinition
      extended by com.atlassian.jira.imports.fogbugz.config.PriorityValueMapper
All Implemented Interfaces:
ValueMappingDefinition

public class PriorityValueMapper
extends AbstractValueMappingDefinition


Field Summary
 
Fields inherited from class com.atlassian.jira.imports.config.AbstractValueMappingDefinition
authenticationContext, connectionBean
 
Constructor Summary
PriorityValueMapper(DatabaseConnectionBean connectionBean, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Collection getDistinctValues()
          Returns the number of unique values for this field
 java.lang.String getJiraFieldId()
          By default no vield is mapped
 java.lang.String getName()
          The name of the field being mapped, usually corresponds to the field name from the data source
 
Methods inherited from class com.atlassian.jira.imports.config.AbstractValueMappingDefinition
getI18n
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriorityValueMapper

public PriorityValueMapper(DatabaseConnectionBean connectionBean,
                           JiraAuthenticationContext authenticationContext)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ValueMappingDefinition
The name of the field being mapped, usually corresponds to the field name from the data source

Returns:
String name of field

getDescription

public java.lang.String getDescription()

getJiraFieldId

public java.lang.String getJiraFieldId()
Description copied from class: AbstractValueMappingDefinition
By default no vield is mapped

Specified by:
getJiraFieldId in interface ValueMappingDefinition
Overrides:
getJiraFieldId in class AbstractValueMappingDefinition
Returns:
NULL

getDistinctValues

public java.util.Collection getDistinctValues()
Description copied from interface: ValueMappingDefinition
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.


Copyright © 2002-2010 Atlassian. All Rights Reserved.