Package org.testcontainers.jdbc
Class ConnectionUrl
java.lang.Object
org.testcontainers.jdbc.ConnectionUrl
This is an Immutable class holding JDBC Connection Url and its parsed components, used by
ContainerDatabaseDriver.
parseUrl() method must be called after instantiating this class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic interfaceThis interface defines the Regex Patterns used byConnectionUrl. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanprotected booleanbooleanThis is a part of the connection string that may specify host:port/databasename.getUrl()inthashCode()booleanbooleanstatic ConnectionUrlnewInstance(String url)
-
Method Details
-
newInstance
-
accepts
-
getTmpfsOptions
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getUrl
-
getDatabaseType
-
getImageTag
-
getDbHostString
This is a part of the connection string that may specify host:port/databasename. It may vary for different clients and so clients can parse it as needed. -
isInDaemonMode
public boolean isInDaemonMode() -
getDatabaseHost
-
getDatabasePort
-
getDatabaseName
-
getInitScriptPath
-
isReusable
public boolean isReusable() -
getInitFunction
-
getQueryString
-
getContainerParameters
-
getQueryParameters
-