|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.importer.importers.JiraImporter
public class JiraImporter
| Field Summary | |
|---|---|
protected DirectoryManager |
directoryManager
|
protected org.springframework.jdbc.core.JdbcOperations |
jdbcTemplate
|
protected PasswordHelper |
passwordHelper
|
| Constructor Summary | |
|---|---|
JiraImporter(DirectoryManager directoryManager,
PasswordHelper passwordHelper)
|
|
| Method Summary | |
|---|---|
Importer |
determineImporter(Configuration configuration)
Determines the appropriate importer to delegate the import operation to. |
java.lang.Class |
getConfigurationType()
The type of configuration being used for this Import. |
Result |
importUsersGroupsAndMemberships(Configuration configuration)
This method will handle the importing of Users, Groups and Memberships from Confluence. |
void |
init(Configuration configuration)
Initialise anything required for the import process. |
java.util.Set<Directory> |
retrieveRemoteSourceDirectory(Configuration configuration)
The retrieve the set of remote source directories. |
void |
setJdbcTemplate(JdbcConfiguration configuration)
|
boolean |
supportsMultipleDirectories(Configuration configuration)
Some sources might be capable of handling more than one directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.springframework.jdbc.core.JdbcOperations jdbcTemplate
protected DirectoryManager directoryManager
protected PasswordHelper passwordHelper
| Constructor Detail |
|---|
public JiraImporter(DirectoryManager directoryManager,
PasswordHelper passwordHelper)
| Method Detail |
|---|
public Importer determineImporter(Configuration configuration)
throws ImporterException
configuration - the configuration required for the import.
ImporterException - if anything happened during the import.public void init(Configuration configuration)
Importer
init in interface Importerconfiguration - can contain any setup params such as database settings that need init'ingpublic java.lang.Class getConfigurationType()
Importer
getConfigurationType in interface Importerpublic void setJdbcTemplate(JdbcConfiguration configuration)
public Result importUsersGroupsAndMemberships(Configuration configuration)
throws ImporterException
importUsersGroupsAndMemberships in interface Importerconfiguration - the configuration required for the import
ImporterException - general exception if anything happened during the import
public boolean supportsMultipleDirectories(Configuration configuration)
throws ImporterException
Importer
supportsMultipleDirectories in interface Importerconfiguration - the Importer Configuration
ImporterException - if there is an error figuring out source directories.
public java.util.Set<Directory> retrieveRemoteSourceDirectory(Configuration configuration)
throws ImporterException
Importer
retrieveRemoteSourceDirectory in interface Importerconfiguration - the import configuration.
ImporterException - will be thrown if an error occurs connecting,
or if the provided configuration is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||