com.atlassian.jira.imports.csv.mappers
Interface ExternalUserMapper

All Superinterfaces:
ExternalObjectMapper
All Known Implementing Classes:
ConcatNameMapper, FirstInitialFirstNameUserMapper, FullNameUserMapper

public interface ExternalUserMapper
extends ExternalObjectMapper

Interface which defines a how to extract ExternalUser objects from data in the CSV file.

The default implementation is FullNameUserMapper. Other mappers may be dynamically loaded via reflection and used depending on configuration settings. All classes must have a UserMapper(String userField, String defaultEmailSuffix) constructor for dynamic construction.

TODO: This cannot handle multi-selects currently.

See Also:
For dynamic construction of implementors.

Field Summary
static String ASSIGNEE_PREFIX
           
static String DEFAULT_EMAIL_SUFFIX
           
static String REPORTER_PREFIX
           
 
Fields inherited from interface com.atlassian.jira.imports.csv.mappers.ExternalObjectMapper
SP
 
Method Summary
 ExternalUser buildFromMultiMap(org.apache.commons.collections.MultiMap bean)
           
 

Field Detail

REPORTER_PREFIX

static final String REPORTER_PREFIX
See Also:
Constant Field Values

ASSIGNEE_PREFIX

static final String ASSIGNEE_PREFIX
See Also:
Constant Field Values

DEFAULT_EMAIL_SUFFIX

static final String DEFAULT_EMAIL_SUFFIX
See Also:
Constant Field Values
Method Detail

buildFromMultiMap

ExternalUser buildFromMultiMap(org.apache.commons.collections.MultiMap bean)


Copyright © 2002-2008 Atlassian. All Rights Reserved.