com.atlassian.user.util.migration
Interface EntityMigrator


public interface EntityMigrator


Method Summary
 boolean hasExistingUsers()
          Returns true if there are existing users in the destination repository, otherwise false.
 void migrate(MigratorConfiguration config, MigrationProgressListener progressListener)
          Migrates users from one repository to another.
 

Method Detail

migrate

void migrate(MigratorConfiguration config,
             MigrationProgressListener progressListener)
             throws EntityException
Migrates users from one repository to another. You can configure this migration by specifying a config.

Throws:
EntityException

hasExistingUsers

boolean hasExistingUsers()
Returns true if there are existing users in the destination repository, otherwise false.



Copyright © 2005-2015 Atlassian. All Rights Reserved.