Class AbstractDatabaseSettingsValidator

java.lang.Object
com.atlassian.crowd.console.action.setup.database.validator.AbstractDatabaseSettingsValidator
All Implemented Interfaces:
DatabaseSettingsValidator
Direct Known Subclasses:
MsSQLServerSettingsValidator, MySQLSettingsValidator

public abstract class AbstractDatabaseSettingsValidator extends Object implements DatabaseSettingsValidator
Abstract database validator that depends on an existing Connection. Inheritors can make use of this to execute SQL queries against the database (helper methods provided), to check whether database requirements are met. This might include checking settings like collation, char_encoding, transaction isolation-level, etc. This class also delegates provision of end-user messages to a TextProvider.
  • Constructor Details

    • AbstractDatabaseSettingsValidator

      protected AbstractDatabaseSettingsValidator(Connection connection, com.opensymphony.xwork2.TextProvider textProvider)
  • Method Details