com.atlassian.crowd.migration.legacy.database
Class DatabaseMigrationManager
java.lang.Object
com.atlassian.crowd.migration.legacy.database.DatabaseMigrationManager
public class DatabaseMigrationManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseMigrationManager
public DatabaseMigrationManager(DatabaseMigrator legacyDatabaseMigrator,
com.atlassian.config.ApplicationConfig applicationConfig,
DatabaseVerificationManager verificationManager,
SystemInfoHelper systemInfoHelper)
doDatabaseMigration
public Collection<String> doDatabaseMigration()
throws ImportException
- Throws:
ImportException
verifyDatabaseIsSafeToMigrate
public Collection<String> verifyDatabaseIsSafeToMigrate()
- Will validate if we are safe to upgrade or not. If we are not a non-empty Collection of errors will
be returned
- Returns:
- An empty Collection of errors if everything is safe, or a collection of error strings if things are not safe.
isLegacyCrowd
public boolean isLegacyCrowd()
Copyright © 2013 Atlassian. All Rights Reserved.