public class ConfluenceImporter extends ConditionalImporter
| Modifier and Type | Field and Description |
|---|---|
protected DirectoryManager |
directoryManager |
protected org.springframework.jdbc.core.JdbcOperations |
jdbcTemplate |
| Constructor and Description |
|---|
ConfluenceImporter(DirectoryManager directoryManager) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getConfigurationType()
The type of configuration being used for this Import.
|
protected Importer |
getCrowdifiedImporter() |
protected Importer |
getFallbackImporter() |
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.
|
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.
|
protected org.springframework.jdbc.core.JdbcOperations jdbcTemplate
protected DirectoryManager directoryManager
public ConfluenceImporter(DirectoryManager directoryManager)
protected Importer getCrowdifiedImporter()
getCrowdifiedImporter in class ConditionalImporterprotected Importer getFallbackImporter()
getFallbackImporter in class ConditionalImporterpublic void init(Configuration configuration)
Importerpublic Class getConfigurationType()
ImportergetConfigurationType in interface Importerpublic void setJdbcTemplate(JdbcConfiguration configuration)
public Result importUsersGroupsAndMemberships(Configuration configuration) throws ImporterException
importUsersGroupsAndMemberships in interface Importerconfiguration - the configuration required for the importImporterException - general exception if anything happened during the importpublic boolean supportsMultipleDirectories(Configuration configuration) throws ImporterException
ImportersupportsMultipleDirectories in interface Importerconfiguration - the Importer ConfigurationImporterException - if there is an error figuring out source directories.public Set<Directory> retrieveRemoteSourceDirectory(Configuration configuration) throws ImporterException
ImporterretrieveRemoteSourceDirectory in interface Importerconfiguration - the import configuration.ImporterException - will be thrown if an error occurs connecting,
or if the provided configuration is invalid.Copyright © 2024 Atlassian. All rights reserved.