public class MySQLContainer<SELF extends MySQLContainer<SELF>> extends JdbcDatabaseContainer<SELF>
GenericContainer.AbstractWaitStrategy
Container.ExecResult
Modifier and Type | Field and Description |
---|---|
static String |
IMAGE |
static String |
NAME |
parameters
CONTAINER_RUNNING_TIMEOUT_SEC, containerId, containerName, dockerClient, dockerDaemonInfo, waitStrategy
Constructor and Description |
---|
MySQLContainer() |
MySQLContainer(String dockerImageName) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
String |
getDriverClassName() |
String |
getJdbcUrl() |
protected Integer |
getLivenessCheckPort() |
String |
getPassword() |
String |
getTestQueryString() |
String |
getUsername() |
SELF |
withConfigurationOverride(String s) |
addParameter, createConnection, getJdbcDriverInstance, optionallyMapResourceParameterAsVolume, setParameters, waitUntilContainerStarted
addEnv, 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, getLogConsumers, getMappedPort, getNetworkMode, getPortBindings, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getWaitStrategy, getWorkingDirectory, hashCode, isRunning, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerId, setContainerInfo, setContainerName, setDockerClient, setDockerDaemonInfo, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLinkedContainers, setLogConsumers, setNetworkMode, setPortBindings, setStartupAttempts, setStartupCheckStrategy, setWaitStrategy, setWorkingDirectory, start, starting, stop, toString, waitingFor, withClasspathResourceMapping, withCommand, withCommand, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLogConsumer, withMinimumRunningDuration, withNetworkMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withWorkingDirectory
apply, failed, succeeded
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContainerName
public static final String NAME
public static final String IMAGE
public MySQLContainer()
public MySQLContainer(String dockerImageName)
protected Integer getLivenessCheckPort()
getLivenessCheckPort
in class JdbcDatabaseContainer<SELF extends MySQLContainer<SELF>>
protected void configure()
configure
in class GenericContainer<SELF extends MySQLContainer<SELF>>
public String getDriverClassName()
getDriverClassName
in class JdbcDatabaseContainer<SELF extends MySQLContainer<SELF>>
public String getJdbcUrl()
getJdbcUrl
in class JdbcDatabaseContainer<SELF extends MySQLContainer<SELF>>
public String getUsername()
getUsername
in class JdbcDatabaseContainer<SELF extends MySQLContainer<SELF>>
public String getPassword()
getPassword
in class JdbcDatabaseContainer<SELF extends MySQLContainer<SELF>>
public String getTestQueryString()
getTestQueryString
in class JdbcDatabaseContainer<SELF extends MySQLContainer<SELF>>
Copyright © 2016. All rights reserved.