com.atlassian.crowd.importer.manager
Class ImporterManagerImpl

java.lang.Object
  extended by com.atlassian.crowd.importer.manager.ImporterManagerImpl
All Implemented Interfaces:
ImporterManager

public class ImporterManagerImpl
extends java.lang.Object
implements ImporterManager

The main implementation of the ImporterManager.

See Also:
ImporterManager

Constructor Summary
ImporterManagerImpl()
           
 
Method Summary
 java.util.Set<java.lang.String> getAtlassianSupportedApplications()
          A list of Atlassian supported applications
 java.util.Set<java.lang.String> getSupportedApplications()
          A list of supported applications
 Result performImport(Configuration configuation)
          Will perform the import based on the given configuration into Crowd.
 void setImporterFactory(ImporterFactory importerFactory)
           
 void testConfiguration(Configuration configuration)
          Tests that the connection succeeded or failed based on the provided configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImporterManagerImpl

public ImporterManagerImpl()
Method Detail

performImport

public Result performImport(Configuration configuation)
                     throws ImporterException
Description copied from interface: ImporterManager
Will perform the import based on the given configuration into Crowd.

Specified by:
performImport in interface ImporterManager
Parameters:
configuation - The Configuration for the import
Returns:
result This will contain details about the import process
Throws:
ImporterException - will be thrown if an error occurs connecting or importing the users into Crowd, or if the provided configuration is invalid.

testConfiguration

public void testConfiguration(Configuration configuration)
                       throws ImporterConfigurationException
Description copied from interface: ImporterManager
Tests that the connection succeeded or failed based on the provided configuration

Specified by:
testConfiguration in interface ImporterManager
Parameters:
configuration - the configuration to use with the importer
Throws:
ImporterConfigurationException - thrown if there is an error connecting to the external datasource

getSupportedApplications

public java.util.Set<java.lang.String> getSupportedApplications()
Description copied from interface: ImporterManager
A list of supported applications

Specified by:
getSupportedApplications in interface ImporterManager
Returns:
Set's representing each application

getAtlassianSupportedApplications

public java.util.Set<java.lang.String> getAtlassianSupportedApplications()
Description copied from interface: ImporterManager
A list of Atlassian supported applications

Specified by:
getAtlassianSupportedApplications in interface ImporterManager
Returns:
Set's representing each application

setImporterFactory

public void setImporterFactory(ImporterFactory importerFactory)


Copyright © 2010 Atlassian. All Rights Reserved.