|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.migration.verify.DatabaseVerifier
com.atlassian.crowd.migration.verify.LegacyDatabaseVerifier
public class LegacyDatabaseVerifier
Pretty much a copy/paste of LegacyXmlVerifier - just that info is taken from database instead of XML document
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).
| Field Summary |
|---|
| Fields inherited from class com.atlassian.crowd.migration.verify.DatabaseVerifier |
|---|
errors, legacyTableQueries |
| Constructor Summary | |
|---|---|
LegacyDatabaseVerifier(org.springframework.jdbc.core.JdbcOperations jdbcTemplate)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.atlassian.crowd.migration.verify.DatabaseVerifier |
|---|
getErrors, hasErrors, setLegacyTableQueries |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyDatabaseVerifier(org.springframework.jdbc.core.JdbcOperations jdbcTemplate)
| Method Detail |
|---|
public void verify()
getErrors.
verify in class DatabaseVerifierpublic void clearState()
DatabaseVerifier
clearState in class DatabaseVerifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||