Interface DatabaseController<C extends DatabaseClient<?,​?>>

    • Method Detail

      • getDatabaseHostname

        String getDatabaseHostname()
        Returns:
        available hostname of the database
      • getDatabasePort

        int getDatabasePort()
        Returns:
        available port of the database
      • getPublicDatabaseHostname

        String getPublicDatabaseHostname()
        Returns:
        publicly available hostname of the database
      • getPublicDatabasePort

        int getPublicDatabasePort()
        Returns:
        publicly available port of the database
      • getPublicDatabaseUrl

        String getPublicDatabaseUrl()
        Returns:
        publicly available connection url of the database
      • getDatabaseClient

        C getDatabaseClient​(String username,
                            String password)
        Creates database client for database using given username and password
        Parameters:
        username - username
        password - password
        Returns:
        database client