public class AtlassianUserMigrator extends Object
RepositoryConfigurationMigrator
for a list of atlassian user repositories.
This class is not thread safe, if its used outside the thread contained upgrade process you will want to synchronize access.
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log |
Constructor and Description |
---|
AtlassianUserMigrator() |
Modifier and Type | Method and Description |
---|---|
void |
addMigrator(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration,
RepositoryConfigurationMigrator configurationMigrator) |
int |
getMigratorCount() |
List<Pair<com.atlassian.crowd.embedded.api.Directory,RepositoryConfigurationMigrator>> |
migrateAndTestConnections() |
List<com.atlassian.crowd.embedded.api.Directory> |
persistMigratedConfigurations(List<Pair<com.atlassian.crowd.embedded.api.Directory,RepositoryConfigurationMigrator>> migrated) |
List<String> |
validate() |
public void addMigrator(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration, RepositoryConfigurationMigrator configurationMigrator)
public List<Pair<com.atlassian.crowd.embedded.api.Directory,RepositoryConfigurationMigrator>> migrateAndTestConnections() throws AtlassianUserMigrationException
AtlassianUserMigrationException
public List<com.atlassian.crowd.embedded.api.Directory> persistMigratedConfigurations(List<Pair<com.atlassian.crowd.embedded.api.Directory,RepositoryConfigurationMigrator>> migrated)
public int getMigratorCount()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.