Class MsSqlCollationRule
- 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.MsSqlCollationRule
-
- All Implemented Interfaces:
HealthCheckRule
public class MsSqlCollationRule extends AbstractDatabaseCollationRule
Determines whether the MS SQL 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 MsSqlCollationRule(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
-
MsSqlCollationRule
public MsSqlCollationRule(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
-
-