com.atlassian.confluence.user.migration
Class AtlassianUserMigrator

java.lang.Object
  extended by com.atlassian.confluence.user.migration.AtlassianUserMigrator

public class AtlassianUserMigrator
extends Object

Tracks a 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.


Field Summary
static org.slf4j.Logger log
           
 
Constructor Summary
AtlassianUserMigrator()
           
 
Method Summary
 void addMigrator(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration, RepositoryConfigurationMigrator configurationMigrator)
           
 int getMigratorCount()
           
 void migrate()
           
 List<String> validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.slf4j.Logger log
Constructor Detail

AtlassianUserMigrator

public AtlassianUserMigrator()
Method Detail

addMigrator

public void addMigrator(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration,
                        RepositoryConfigurationMigrator configurationMigrator)

validate

public List<String> validate()
                      throws AtlassianUserMigrationException
Throws:
AtlassianUserMigrationException

migrate

public void migrate()
             throws AtlassianUserMigrationException
Throws:
AtlassianUserMigrationException

getMigratorCount

public int getMigratorCount()


Copyright © 2003–2015 Atlassian. All rights reserved.