Package org.adempiere.install
Interface IDatabaseConfig
- All Known Implementing Classes:
ConfigOracle
,ConfigPostgreSQL
public interface IDatabaseConfig
Database connection configuration interface
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptionString[]
discoverDatabases
(String selected) Discover Databases.getDatabaseName
(String nativeConnectioName) Get real database name from native connection profile name return from discoverDatabasesgetName()
Get Database Namevoid
init
(ConfigurationData configurationData) Initialize Configuration Datatest
(IDBConfigMonitor monitor, ConfigurationData data) Test
-
Method Details
-
getDatabaseName
Get real database name from native connection profile name return from discoverDatabases- Parameters:
nativeConnectioName
-- Returns:
- Database name
-
init
Initialize Configuration Data- Parameters:
configurationData
-
-
discoverDatabases
Discover Databases. To be overwritten by database configs- Parameters:
selected
- selected database- Returns:
- array of databases
-
test
Test- Parameters:
monitor
-data
-- Returns:
- error message or null if OK
-
getName
String getName()Get Database Name- Returns:
- database short name
-