Class MySqlCollationRule
- java.lang.Object
-
- com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
-
- com.atlassian.confluence.impl.health.checks.rules.AbstractDatabaseCollationRule
-
- com.atlassian.confluence.impl.health.checks.rules.MySqlCollationRule
-
- All Implemented Interfaces:
HealthCheckRule
public class MySqlCollationRule extends AbstractDatabaseCollationRule
Determines whether the MySQL Collation is correct.- Since:
- 6.13
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractDatabaseCollationRule
supportedCollations
-
-
Constructor Summary
Constructors Constructor Description MySqlCollationRule(ErrorMessageProvider errorMessageProvider, DatabaseCollationVerifier databaseCollationVerifier, SingleConnectionProvider databaseHelper, com.atlassian.config.db.HibernateConfig hibernateConfig, String[] supportedCollations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getCollationScript()
protected com.atlassian.johnson.event.Event
getFailureEvent(String errorMessage)
-
Methods inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractDatabaseCollationRule
doValidation, getFailureMessageKey
-
Methods inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
getErrorMessage, validate
-
-
-
-
Constructor Detail
-
MySqlCollationRule
public MySqlCollationRule(ErrorMessageProvider errorMessageProvider, DatabaseCollationVerifier databaseCollationVerifier, SingleConnectionProvider databaseHelper, com.atlassian.config.db.HibernateConfig hibernateConfig, String[] supportedCollations)
-
-
Method Detail
-
getCollationScript
protected String getCollationScript()
- Specified by:
getCollationScript
in classAbstractDatabaseCollationRule
-
getFailureEvent
protected com.atlassian.johnson.event.Event getFailureEvent(String errorMessage)
- Overrides:
getFailureEvent
in classAbstractHealthCheckRule
-
-