public class MSSQLServerContainer<SELF extends MSSQLServerContainer<SELF>>
extends org.testcontainers.containers.JdbcDatabaseContainer<SELF>
org.testcontainers.containers.JdbcDatabaseContainer.NoDriverFoundException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_TAG |
static java.lang.String |
IMAGE |
static java.lang.Integer |
MS_SQL_SERVER_PORT |
static java.lang.String |
NAME |
| Constructor and Description |
|---|
MSSQLServerContainer() |
MSSQLServerContainer(java.lang.String dockerImageName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
java.lang.String |
getDriverClassName() |
java.lang.String |
getJdbcUrl() |
protected java.lang.Integer |
getLivenessCheckPort() |
java.lang.String |
getPassword() |
java.lang.String |
getTestQueryString() |
java.lang.String |
getUsername() |
SELF |
withPassword(java.lang.String password) |
addParameter, constructUrlForConnection, containerIsStarted, createConnection, getConnectTimeoutSeconds, getDatabaseDelegate, getDatabaseName, getJdbcDriverInstance, getStartupTimeoutSeconds, optionallyMapResourceParameterAsVolume, runInitScriptIfRequired, setParameters, waitUntilContainerStarted, withConnectTimeoutSeconds, withDatabaseName, withInitScript, withStartupTimeoutSeconds, withUsernameaddEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, containerIsCreated, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, doStart, equals, failed, fetchDockerDaemonInfo, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerDaemonInfo, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainerNameaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindcopyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningpublic static final java.lang.String NAME
public static final java.lang.String IMAGE
public static final java.lang.String DEFAULT_TAG
public static final java.lang.Integer MS_SQL_SERVER_PORT
public MSSQLServerContainer()
public MSSQLServerContainer(java.lang.String dockerImageName)
protected java.lang.Integer getLivenessCheckPort()
getLivenessCheckPort in class org.testcontainers.containers.GenericContainer<SELF extends MSSQLServerContainer<SELF>>protected void configure()
configure in class org.testcontainers.containers.GenericContainer<SELF extends MSSQLServerContainer<SELF>>public java.lang.String getDriverClassName()
getDriverClassName in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends MSSQLServerContainer<SELF>>public java.lang.String getJdbcUrl()
getJdbcUrl in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends MSSQLServerContainer<SELF>>public java.lang.String getUsername()
getUsername in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends MSSQLServerContainer<SELF>>public java.lang.String getPassword()
getPassword in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends MSSQLServerContainer<SELF>>public java.lang.String getTestQueryString()
getTestQueryString in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends MSSQLServerContainer<SELF>>public SELF withPassword(java.lang.String password)
withPassword in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends MSSQLServerContainer<SELF>>