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

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

public class ComputerValueMapper
extends AbstractValueMappingDefinition


Field Summary
 
Fields inherited from class com.atlassian.jira.imports.config.AbstractValueMappingDefinition
authenticationContext, connectionBean
 
Constructor Summary
ComputerValueMapper(DatabaseConnectionBean connectionBean, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 String getDescription()
           
 Collection getDistinctValues()
          Returns the number of unique values for this field
 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, getJiraFieldId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputerValueMapper

public ComputerValueMapper(DatabaseConnectionBean connectionBean,
                           JiraAuthenticationContext authenticationContext)
Method Detail

getName

public 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 String getDescription()

getDistinctValues

public 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-2008 Atlassian. All Rights Reserved.