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