public class PostgreSQLContainer extends JdbcDatabaseContainer
GenericContainer.BindMode| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE |
static String |
NAME |
parametersportscontainerId, containerName, dockerClient, dockerHostIpAddress, tag| Constructor and Description |
|---|
PostgreSQLContainer() |
PostgreSQLContainer(String dockerImageName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
containerIsStarting(com.spotify.docker.client.messages.ContainerInfo containerInfo) |
protected com.spotify.docker.client.messages.ContainerConfig |
getContainerConfig() |
String |
getDriverClassName() |
String |
getJdbcUrl() |
protected String |
getLivenessCheckPort() |
String |
getName() |
String |
getPassword() |
String |
getTestQueryString() |
String |
getUsername() |
addParameter, createConnection, getJdbcDriverInstance, optionallyMapResourceParameterAsVolume, setParameters, waitUntilContainerStartedaddEnv, addFileSystemBind, customizeHostConfigBuilder, getDockerImageName, getIpAddress, getMappedPort, setCommand, setCommand, setExposedPortscheckContainerNotAborted, createVolumeDirectory, getContainerName, logger, setTag, start, stop, waitForListeningPortclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContainerNamepublic static final String NAME
public static final String IMAGE
public PostgreSQLContainer()
public PostgreSQLContainer(String dockerImageName)
protected void containerIsStarting(com.spotify.docker.client.messages.ContainerInfo containerInfo)
containerIsStarting in class GenericContainerprotected String getLivenessCheckPort()
getLivenessCheckPort in class JdbcDatabaseContainerprotected com.spotify.docker.client.messages.ContainerConfig getContainerConfig()
getContainerConfig in class GenericContainerpublic String getName()
getName in class JdbcDatabaseContainerpublic String getDriverClassName()
getDriverClassName in class JdbcDatabaseContainerpublic String getJdbcUrl()
getJdbcUrl in class JdbcDatabaseContainerpublic String getUsername()
getUsername in class JdbcDatabaseContainerpublic String getPassword()
getPassword in class JdbcDatabaseContainerpublic String getTestQueryString()
getTestQueryString in class JdbcDatabaseContainerCopyright © 2015. All rights reserved.