com.atlassian.crowd.migration.verify
Class DatabaseVerificationManager
java.lang.Object
com.atlassian.crowd.migration.verify.DatabaseVerificationManager
public class DatabaseVerificationManager
- extends Object
This manager will look after verifiers that need to run against the legacy database before migration
to validate that the migration can proceed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseVerificationManager
public DatabaseVerificationManager(List<DatabaseVerifier> verifiers)
validate
public List<String> validate()
- Will validate the given document against a list of
Verifier
's
- Returns:
- A combined list of errors from all the verifiers. If this list is empty, then all verifiers passed.
setLegacyTableQueries
public void setLegacyTableQueries(LegacyTableQueries legacyTableQueries)
Copyright © 2013 Atlassian. All Rights Reserved.