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
 java.lang.String getDescription()
           
 java.util.Collection<java.util.Collection<java.lang.String>> getDistinctValues()
          Returns the number of unique values for this field
 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, 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 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()

getDistinctValues

public java.util.Collection<java.util.Collection<java.lang.String>> 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.