Package io.pivotal.cfenv.jdbc
Class PostgresqlJdbcUrlCreator
java.lang.Object
io.pivotal.cfenv.jdbc.AbstractJdbcUrlCreator
io.pivotal.cfenv.jdbc.PostgresqlJdbcUrlCreator
- All Implemented Interfaces:
JdbcUrlCreator
- Author:
- Mark Pollack
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class io.pivotal.cfenv.jdbc.AbstractJdbcUrlCreator
JDBC_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildJdbcUrlFromUriField(io.pivotal.cfenv.core.CfCredentials cfCredentials) booleanisDatabaseService(io.pivotal.cfenv.core.CfService cfService) Identifies the provided service as a database serviceMethods inherited from class io.pivotal.cfenv.jdbc.AbstractJdbcUrlCreator
createJdbcUrl, jdbcUrlMatchesScheme
-
Field Details
-
POSTGRESQL_SCHEME
- See Also:
-
POSTGRES_JDBC_SCHEME
- See Also:
-
POSTGRESQL_TAG
- See Also:
-
POSTGRES_JDBC_TAG
- See Also:
-
POSTGRESQL_LABEL
- See Also:
-
-
Constructor Details
-
PostgresqlJdbcUrlCreator
public PostgresqlJdbcUrlCreator()
-
-
Method Details
-
isDatabaseService
public boolean isDatabaseService(io.pivotal.cfenv.core.CfService cfService) Description copied from interface:JdbcUrlCreatorIdentifies the provided service as a database service- Parameters:
cfService- a Cloud Foundry service- Returns:
trueif the service describes a database service,falseotherwise.
-
buildJdbcUrlFromUriField
- Specified by:
buildJdbcUrlFromUriFieldin classAbstractJdbcUrlCreator
-
getDriverClassName
-