public interface DatabaseCollationVerifier
| Modifier and Type | Method and Description | 
|---|---|
| Optional<DatabaseVerificationResult> | verifyCollationOfDatabase(Connection connection,
                         String script,
                         String[] supportedCollations,
                         String docLink)Validates the database collation for a given connection. | 
Optional<DatabaseVerificationResult> verifyCollationOfDatabase(Connection connection, String script, String[] supportedCollations, String docLink) throws SQLException
connection - the database connection to validate against.script - the script used to check the collation.supportedCollations - collations which are supported for the given database.docLink - link to the Confluence document.SQLException - - indicates sql error occurs during the verificationCopyright © 2003–2020 Atlassian. All rights reserved.