|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.importer.manager.ImporterManagerImpl
public class ImporterManagerImpl
The main implementation of the ImporterManager.
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 configuration)
Will perform the import based on the given configuration into Crowd. |
java.util.Set<Directory> |
retrieveRemoteSourceDirectories(Configuration configuration)
The retrieve the set of remote source directories. |
void |
setImporterFactory(ImporterFactory importerFactory)
|
boolean |
supportsMultipleDirectories(Configuration configuration)
Returns true if the source application supports multiple directories such as if it is crowdified. |
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 |
|---|
public ImporterManagerImpl()
| Method Detail |
|---|
public Result performImport(Configuration configuration)
throws ImporterException
ImporterManagerconfiguration into Crowd.
performImport in interface ImporterManagerconfiguration - The Configuration for the import
ImporterException - will be thrown if an error occurs connecting
or importing the users into Crowd, or if the provided configuration is invalid.
public boolean supportsMultipleDirectories(Configuration configuration)
throws ImporterException
ImporterManager
supportsMultipleDirectories in interface ImporterManagerconfiguration - the import configuration.
ImporterException - will be thrown if an error occurs connecting,
or if the provided configuration is invalid.
public java.util.Set<Directory> retrieveRemoteSourceDirectories(Configuration configuration)
throws ImporterException
ImporterManager
retrieveRemoteSourceDirectories in interface ImporterManagerconfiguration - the import configuration.
ImporterException - will be thrown if an error occurs connecting,
or if the provided configuration is invalid.
public void testConfiguration(Configuration configuration)
throws ImporterConfigurationException
ImporterManager
testConfiguration in interface ImporterManagerconfiguration - the configuration to use with the importer
ImporterConfigurationException - thrown if there is an error connecting to the external datasourcepublic java.util.Set<java.lang.String> getSupportedApplications()
ImporterManager
getSupportedApplications in interface ImporterManagerpublic java.util.Set<java.lang.String> getAtlassianSupportedApplications()
ImporterManager
getAtlassianSupportedApplications in interface ImporterManagerpublic void setImporterFactory(ImporterFactory importerFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||