Class SqlServerSetupRule
- java.lang.Object
-
- com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
-
- com.atlassian.confluence.impl.health.checks.rules.AbstractDatabaseSetupRule
-
- com.atlassian.confluence.impl.health.checks.rules.SqlServerSetupRule
-
- All Implemented Interfaces:
HealthCheckRule
public class SqlServerSetupRule extends AbstractDatabaseSetupRule
Determines whether the SQL Server setup (isolation level_ is correct.- Since:
- 7.0.1
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractDatabaseSetupRule
databaseHelper, hibernateConfig
-
-
Constructor Summary
Constructors Constructor Description SqlServerSetupRule(ErrorMessageProvider errorMessageProvider, SingleConnectionProvider databaseHelper, com.atlassian.config.db.HibernateConfig hibernateConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<String>
doValidation()
protected com.atlassian.johnson.event.Event
getFailureEvent(String errorMessage)
-
Methods inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
getErrorMessage, validate
-
-
-
-
Constructor Detail
-
SqlServerSetupRule
public SqlServerSetupRule(ErrorMessageProvider errorMessageProvider, SingleConnectionProvider databaseHelper, com.atlassian.config.db.HibernateConfig hibernateConfig)
-
-
Method Detail
-
doValidation
protected Optional<String> doValidation()
- Specified by:
doValidation
in classAbstractHealthCheckRule
-
getFailureEvent
protected com.atlassian.johnson.event.Event getFailureEvent(String errorMessage)
- Overrides:
getFailureEvent
in classAbstractHealthCheckRule
-
-