com.atlassian.jira.imports.csv.mappers
Class FullNameUserMapper

java.lang.Object
  extended bycom.atlassian.jira.imports.csv.mappers.FullNameUserMapper
All Implemented Interfaces:
ExternalObjectMapper, ExternalUserMapper

public class FullNameUserMapper
extends Object
implements ExternalUserMapper

CSV user mapper that assumes the name in the format "John Smith". "John Smith" is used as full name and "johnsmith" as username. Inexplicably, the e-mail address is "jsmith@example.com"


Field Summary
 
Fields inherited from interface com.atlassian.jira.imports.csv.mappers.ExternalUserMapper
ASSIGNEE_PREFIX, DEFAULT_EMAIL_SUFFIX, REPORTER_PREFIX
 
Fields inherited from interface com.atlassian.jira.imports.csv.mappers.ExternalObjectMapper
EXTERNAL_DATE_FORMAT, log, SP
 
Constructor Summary
FullNameUserMapper(String fullNameField)
           
FullNameUserMapper(String fullNameField, String emailSuffix)
           
 
Method Summary
 ExternalUser buildFromMultiMap(org.apache.commons.collections.MultiMap bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullNameUserMapper

public FullNameUserMapper(String fullNameField)

FullNameUserMapper

public FullNameUserMapper(String fullNameField,
                          String emailSuffix)
Method Detail

buildFromMultiMap

public ExternalUser buildFromMultiMap(org.apache.commons.collections.MultiMap bean)
Specified by:
buildFromMultiMap in interface ExternalUserMapper


Copyright © 2002-2006 Atlassian. All Rights Reserved.