Package org.openqa.selenium.docker.v1_41
Class V141Docker
- java.lang.Object
-
- org.openqa.selenium.docker.v1_41.V141Docker
-
- All Implemented Interfaces:
DockerProtocol
public class V141Docker extends java.lang.Object implements DockerProtocol
-
-
Constructor Summary
Constructors Constructor Description V141Docker(org.openqa.selenium.remote.http.HttpHandler client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Containercreate(ContainerConfig config)ContainerLogsgetContainerLogs(ContainerId id)ImagegetImage(java.lang.String imageName)ContainerInfoinspectContainer(ContainerId id)booleanisContainerPresent(ContainerId id)voidstartContainer(ContainerId id)voidstopContainer(ContainerId id, java.time.Duration timeout)java.lang.Stringversion()
-
-
-
Method Detail
-
version
public java.lang.String version()
- Specified by:
versionin interfaceDockerProtocol
-
getImage
public Image getImage(java.lang.String imageName) throws DockerException
- Specified by:
getImagein interfaceDockerProtocol- Throws:
DockerException
-
create
public Container create(ContainerConfig config)
- Specified by:
createin interfaceDockerProtocol
-
isContainerPresent
public boolean isContainerPresent(ContainerId id) throws DockerException
- Specified by:
isContainerPresentin interfaceDockerProtocol- Throws:
DockerException
-
startContainer
public void startContainer(ContainerId id) throws DockerException
- Specified by:
startContainerin interfaceDockerProtocol- Throws:
DockerException
-
stopContainer
public void stopContainer(ContainerId id, java.time.Duration timeout) throws DockerException
- Specified by:
stopContainerin interfaceDockerProtocol- Throws:
DockerException
-
inspectContainer
public ContainerInfo inspectContainer(ContainerId id) throws DockerException
- Specified by:
inspectContainerin interfaceDockerProtocol- Throws:
DockerException
-
getContainerLogs
public ContainerLogs getContainerLogs(ContainerId id) throws DockerException
- Specified by:
getContainerLogsin interfaceDockerProtocol- Throws:
DockerException
-
-