Class DatabaseMigrationManager
java.lang.Object
com.atlassian.crowd.migration.legacy.database.DatabaseMigrationManager
-
Constructor Summary
ConstructorDescriptionDatabaseMigrationManager
(DatabaseMigrator legacyDatabaseMigrator, com.atlassian.config.ApplicationConfig applicationConfig, DatabaseVerificationManager verificationManager, SystemInfoHelper systemInfoHelper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Will validate if we are safe to upgrade or not.
-
Constructor Details
-
DatabaseMigrationManager
public DatabaseMigrationManager(DatabaseMigrator legacyDatabaseMigrator, com.atlassian.config.ApplicationConfig applicationConfig, DatabaseVerificationManager verificationManager, SystemInfoHelper systemInfoHelper)
-
-
Method Details
-
doDatabaseMigration
- Throws:
ImportException
-
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()
-