Interface IDatabaseConfig

All Known Implementing Classes:
ConfigOracle, ConfigPostgreSQL

public interface IDatabaseConfig
Database connection configuration interface
Author:
hengsin
  • Method Details

    • 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)
      Initialize 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

      Test
      Parameters:
      monitor -
      data -
      Returns:
      error message or null if OK
    • getName

      String getName()
      Get Database Name
      Returns:
      database short name