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, setLegacyTableQueries
public LegacyDatabaseVerifier(org.springframework.jdbc.core.JdbcOperations jdbcTemplate)
public void verify()
Errors can be obtained by called getErrors
.
verify
in class DatabaseVerifier
public void clearState()
DatabaseVerifier
clearState
in class DatabaseVerifier
Copyright © 2020 Atlassian. All rights reserved.