VncRecordingContainer
@Deprecated public class VncRecordingSidekickContainer<SELF extends VncRecordingSidekickContainer<SELF,T>,T extends VncService & LinkableContainer> extends GenericContainer<SELF>
GenericContainer.AbstractWaitStrategy
Container.ExecResult
CONTAINER_RUNNING_TIMEOUT_SEC, containerId, containerName, dockerClient, dockerDaemonInfo, waitStrategy
STATE_HEALTHY
Constructor and Description |
---|
VncRecordingSidekickContainer(T vncServiceContainer)
Deprecated.
Create a sidekick container and link it to another container.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Deprecated.
|
protected void |
containerIsStarting(com.github.dockerjava.api.command.InspectContainerResponse containerInfo)
Deprecated.
|
protected @NotNull java.util.Set<java.lang.Integer> |
getLivenessCheckPorts()
Deprecated.
|
java.nio.file.Path |
getRecordingPath()
Deprecated.
|
void |
stopAndRetainRecording(java.io.File destination)
Deprecated.
Stop the container and move the recording file to a suitable destination
|
addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, close, containerIsStarted, copyFileFromContainer, copyFileToContainer, createVolumeDirectory, execInContainer, execInContainer, fetchDockerDaemonInfo, finished, getDockerImageName, getEnv, getEnvMap, getIpAddress, getLivenessCheckPort, getLivenessCheckPortNumbers, getTestHostIpAddress, getWaitStrategy, logger, setCommand, setCommand, setDockerImageName, setEnv, setWaitStrategy, start, starting, stop, waitingFor, waitUntilContainerStarted, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withVolumesFrom, withWorkingDirectory
apply, failed, succeeded
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, isHealthy, isRunning
public VncRecordingSidekickContainer(T vncServiceContainer)
vncServiceContainer
- the container whose screen should be recorded. This container must implement VncService and LinkableContainer.protected void containerIsStarting(com.github.dockerjava.api.command.InspectContainerResponse containerInfo)
containerIsStarting
in class GenericContainer<SELF extends VncRecordingSidekickContainer<SELF,T>>
@NotNull protected @NotNull java.util.Set<java.lang.Integer> getLivenessCheckPorts()
getLivenessCheckPorts
in class GenericContainer<SELF extends VncRecordingSidekickContainer<SELF,T>>
protected void configure()
configure
in class GenericContainer<SELF extends VncRecordingSidekickContainer<SELF,T>>
public java.nio.file.Path getRecordingPath()
public void stopAndRetainRecording(java.io.File destination)
destination
- the location the recording should be moved to, overwriting any existing file