public class DBCheck extends Object implements BackingChecker
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DB_EXCLUDE_CHECK_LIST |
| Constructor and Description |
|---|
DBCheck() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ConfigurationGenerator cg)
Test if the check has to be done for the given configuration.
|
void |
check(ConfigurationGenerator cg)
Test the availbilty of the backing service.
|
void |
checkDatabaseConnection(ConfigurationGenerator cg)
Check driver availability and database connection
|
public static final List<String> DB_EXCLUDE_CHECK_LIST
public DBCheck()
public boolean accepts(ConfigurationGenerator cg)
BackingCheckeraccepts in interface BackingCheckercg - The current configurationBackingChecker.check(ConfigurationGenerator) has to be called.public void check(ConfigurationGenerator cg) throws ConfigurationException
BackingCheckercheck in interface BackingCheckercg - The current configurationConfigurationException - if backing service is not available.public void checkDatabaseConnection(ConfigurationGenerator cg) throws FileNotFoundException, IOException, DatabaseDriverException, SQLException
Copyright © 2019 Nuxeo. All rights reserved.