@Internal public class DatabaseDriverRegisterer extends Object
Modifier and Type | Method and Description |
---|---|
DatabaseType |
databaseType() |
static DatabaseDriverRegisterer |
forDriverClass(String className) |
static DatabaseDriverRegisterer |
forType(DatabaseType type) |
static HelpUrl |
getDbConfigLink(DatabaseType type,
HelpUrls urls) |
Iterable<String> |
getErrorMessage()
Get error message (for failed registration) specific to the database type.
|
boolean |
isDriverRegistered() |
void |
registerDriver()
Registers the driver.
|
public static DatabaseDriverRegisterer forType(DatabaseType type)
public static DatabaseDriverRegisterer forDriverClass(String className)
public DatabaseType databaseType()
public void registerDriver()
InvalidDatabaseDriverException
- if the driver is not foundpublic Iterable<String> getErrorMessage()
public boolean isDriverRegistered()
public static HelpUrl getDbConfigLink(DatabaseType type, HelpUrls urls)
Copyright © 2002-2019 Atlassian. All Rights Reserved.