public class VncRecordingContainer extends GenericContainer<VncRecordingContainer>
GenericContainer.AbstractWaitStrategy
Container.ExecResult
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_VNC_PASSWORD |
static int |
DEFAULT_VNC_PORT |
CONTAINER_RUNNING_TIMEOUT_SEC, containerId, containerName, dockerClient, dockerDaemonInfo, INTERNAL_HOST_HOSTNAME, waitStrategy
STATE_HEALTHY
Constructor and Description |
---|
VncRecordingContainer(GenericContainer<?> targetContainer) |
VncRecordingContainer(Network network,
java.lang.String targetNetworkAlias)
Create a sidekick container and attach it to another container.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
void |
saveRecordingToFile(java.io.File file) |
java.io.InputStream |
streamRecording() |
VncRecordingContainer |
withFrameRate(int frameRate) |
VncRecordingContainer |
withVncPassword(java.lang.String vncPassword) |
VncRecordingContainer |
withVncPort(int vncPort) |
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, containerIsCreated, containerIsStarted, containerIsStarting, copyFileFromContainer, copyFileFromContainer, copyFileToContainer, copyFileToContainer, createVolumeDirectory, doStart, execInContainer, execInContainer, failed, fetchDockerDaemonInfo, finished, getDockerImageName, getEnv, getEnvMap, getIpAddress, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getTestHostIpAddress, getWaitStrategy, logger, setCommand, setCommand, setDockerImageName, setEnv, setWaitStrategy, start, starting, stop, succeeded, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withVolumesFrom, withWorkingDirectory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFileSystemBind, followOutput, followOutput, getBinds, getCommandParts, getDockerClient, getDockerDaemonInfo, getExtraHosts, getImage, getLinkedContainers, getPortBindings, self, setBinds, setCommandParts, setExposedPorts, setExtraHosts, setImage, setLinkedContainers, setPortBindings, withEnv, withFileSystemBind
getContainerName
getBoundPortNumbers, getContainerId, getContainerInfo, getContainerIpAddress, getCurrentContainerInfo, getExposedPorts, getFirstMappedPort, getMappedPort, isCreated, isHealthy, isRunning
public static final java.lang.String DEFAULT_VNC_PASSWORD
public static final int DEFAULT_VNC_PORT
public VncRecordingContainer(@NonNull GenericContainer<?> targetContainer)
public VncRecordingContainer(@NonNull Network network, @NonNull java.lang.String targetNetworkAlias) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public VncRecordingContainer withVncPassword(@NonNull java.lang.String vncPassword)
public VncRecordingContainer withVncPort(int vncPort)
public VncRecordingContainer withFrameRate(int frameRate)
protected void configure()
configure
in class GenericContainer<VncRecordingContainer>
public java.io.InputStream streamRecording()
public void saveRecordingToFile(java.io.File file)