public class LegacyDatabaseVerifier extends DatabaseVerifier
Responsible for verifying the correctness of the legacy database
Currently this verifies that roles and groups within a directory have different names (case-insensitive comparison).
errors, legacyTableQueries| Constructor and Description |
|---|
LegacyDatabaseVerifier(org.springframework.jdbc.core.JdbcOperations jdbcTemplate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearState()
This method will be called between runs of the verifier to make sure that state can be purged between runs if required.
|
void |
verify()
Verifies a legacy database to ensure:
1.
|
getErrors, hasErrors, setLegacyTableQueriespublic LegacyDatabaseVerifier(org.springframework.jdbc.core.JdbcOperations jdbcTemplate)
public void verify()
Errors can be obtained by called getErrors.
verify in class DatabaseVerifierpublic void clearState()
DatabaseVerifierclearState in class DatabaseVerifierCopyright © 2018 Atlassian. All rights reserved.