public interface JdbcUrlParser
| Modifier and Type | Method and Description |
|---|---|
String |
getUrl(String hostname,
String port,
String instance)
Returns the JDBC URL for this DB config.
|
DatabaseInstance |
parseUrl(String jdbcUrl) |
DatabaseInstance parseUrl(String jdbcUrl) throws ParseException
ParseExceptionString getUrl(String hostname, String port, String instance) throws ParseException
hostname - the hostnameport - the TCP/IP port numberinstance - the DB "instance"ValidationException - If the underlying configuration is invalid for this DB type. eg for Postgres, "Database" (instance) is a required fieldParseExceptionCopyright © 2002-2022 Atlassian. All Rights Reserved.