public class PostgreSQLContainer<SELF extends PostgreSQLContainer<SELF>> extends JdbcDatabaseContainer<SELF>
GenericContainer.AbstractWaitStrategyContainer.ExecResult| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE |
static String |
NAME |
static Integer |
POSTGRESQL_PORT |
parametersCONTAINER_RUNNING_TIMEOUT_SEC, containerId, containerName, dockerClient, dockerDaemonInfo, waitStrategy| Constructor and Description |
|---|
PostgreSQLContainer() |
PostgreSQLContainer(String dockerImageName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
String |
getDriverClassName() |
String |
getJdbcUrl() |
protected Integer |
getLivenessCheckPort() |
String |
getPassword() |
String |
getTestQueryString() |
String |
getUsername() |
addParameter, createConnection, getJdbcDriverInstance, optionallyMapResourceParameterAsVolume, setParameters, waitUntilContainerStartedaddEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addLink, canEqual, containerIsStarted, containerIsStarting, createVolumeDirectory, equals, execInContainer, execInContainer, fetchDockerDaemonInfo, finished, followOutput, followOutput, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerIpAddress, getContainerName, getDockerClient, getDockerDaemonInfo, getDockerImageName, getEnv, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLinkedContainers, getMappedPort, getNetworkMode, getPortBindings, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getWaitStrategy, hashCode, isRunning, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerId, setContainerInfo, setContainerName, setDockerClient, setDockerDaemonInfo, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLinkedContainers, setNetworkMode, setPortBindings, setStartupAttempts, setStartupCheckStrategy, setWaitStrategy, start, starting, stop, toString, waitingFor, withClasspathResourceMapping, withCommand, withCommand, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withMinimumRunningDuration, withNetworkMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeoutapply, failed, succeededclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainerNamepublic static final String NAME
public static final String IMAGE
public static final Integer POSTGRESQL_PORT
public PostgreSQLContainer()
public PostgreSQLContainer(String dockerImageName)
protected Integer getLivenessCheckPort()
getLivenessCheckPort in class JdbcDatabaseContainer<SELF extends PostgreSQLContainer<SELF>>protected void configure()
configure in class GenericContainer<SELF extends PostgreSQLContainer<SELF>>public String getDriverClassName()
getDriverClassName in class JdbcDatabaseContainer<SELF extends PostgreSQLContainer<SELF>>public String getJdbcUrl()
getJdbcUrl in class JdbcDatabaseContainer<SELF extends PostgreSQLContainer<SELF>>public String getUsername()
getUsername in class JdbcDatabaseContainer<SELF extends PostgreSQLContainer<SELF>>public String getPassword()
getPassword in class JdbcDatabaseContainer<SELF extends PostgreSQLContainer<SELF>>public String getTestQueryString()
getTestQueryString in class JdbcDatabaseContainer<SELF extends PostgreSQLContainer<SELF>>Copyright © 2016. All rights reserved.