Package com.sap.cloud.mt.subscription
Class DbCredentialsH2
java.lang.Object
com.sap.cloud.mt.subscription.DbCredentials
com.sap.cloud.mt.subscription.DbCredentialsH2
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.cloud.mt.subscription.DbCredentials
DbCredentials.HostAndPort, DbCredentials.UserAndPassword -
Field Summary
Fields inherited from class com.sap.cloud.mt.subscription.DbCredentials
JDBC, uri -
Constructor Summary
ConstructorsConstructorDescriptionDbCredentialsH2(DbCredentialsH2 dbCredentials) DbCredentialsH2(String user, String password, String database) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildUrl()getDB()protected List<DbCredentials.HostAndPort>getHostsFromUri(URI uri) protected DbCredentials.UserAndPasswordgetUserFromUri(URI uri) Methods inherited from class com.sap.cloud.mt.subscription.DbCredentials
getDriver, getHost, getPassword, getPort, getUrl, getUser
-
Constructor Details
-
DbCredentialsH2
- Throws:
InternalError
-
DbCredentialsH2
-
-
Method Details
-
getDatabaseId
- Specified by:
getDatabaseIdin classDbCredentials
-
buildUrl
- Specified by:
buildUrlin classDbCredentials
-
getDB
- Specified by:
getDBin classDbCredentials
-
createCopy
- Specified by:
createCopyin classDbCredentials
-
getHostsFromUri
- Specified by:
getHostsFromUriin classDbCredentials
-
getUserFromUri
- Specified by:
getUserFromUriin classDbCredentials
-