Class PostgresUrlParser
java.lang.Object
com.atlassian.jira.config.database.jdbcurlparser.PostgresUrlParser
- All Implemented Interfaces:
JdbcUrlParser
- Direct Known Subclasses:
AuroraPostgresUrlParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the JDBC URL for this DB config.protected StringremoveProtocolPrefix(String jdbcUrl)
-
Constructor Details
-
PostgresUrlParser
public PostgresUrlParser()
-
-
Method Details
-
getUrl
Description copied from interface:JdbcUrlParserReturns the JDBC URL for this DB config.- Parameters:
hostname- the hostnameport- the TCP/IP port numberinstance- the DB "instance"- Returns:
- the JDBC URL for this DB config.
- Throws:
ParseException
-
parseUrl
- Throws:
ParseException
-
getProtocolPrefix
-
removeProtocolPrefix
- Throws:
ParseException
-