Package org.openqa.selenium.docker.v1_40
Class V140Docker
- java.lang.Object
-
- org.openqa.selenium.docker.v1_40.V140Docker
-
- All Implemented Interfaces:
DockerProtocol
public class V140Docker extends java.lang.Object implements DockerProtocol
-
-
Constructor Summary
Constructors Constructor Description V140Docker(org.openqa.selenium.remote.http.HttpHandler client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Container
create(ContainerConfig config)
ContainerLogs
getContainerLogs(ContainerId id)
Image
getImage(java.lang.String imageName)
ContainerInfo
inspectContainer(ContainerId id)
boolean
isContainerPresent(ContainerId id)
void
startContainer(ContainerId id)
void
stopContainer(ContainerId id, java.time.Duration timeout)
java.lang.String
version()
-
-
-
Method Detail
-
version
public java.lang.String version()
- Specified by:
version
in interfaceDockerProtocol
-
getImage
public Image getImage(java.lang.String imageName) throws DockerException
- Specified by:
getImage
in interfaceDockerProtocol
- Throws:
DockerException
-
create
public Container create(ContainerConfig config)
- Specified by:
create
in interfaceDockerProtocol
-
isContainerPresent
public boolean isContainerPresent(ContainerId id) throws DockerException
- Specified by:
isContainerPresent
in interfaceDockerProtocol
- Throws:
DockerException
-
startContainer
public void startContainer(ContainerId id) throws DockerException
- Specified by:
startContainer
in interfaceDockerProtocol
- Throws:
DockerException
-
stopContainer
public void stopContainer(ContainerId id, java.time.Duration timeout) throws DockerException
- Specified by:
stopContainer
in interfaceDockerProtocol
- Throws:
DockerException
-
inspectContainer
public ContainerInfo inspectContainer(ContainerId id) throws DockerException
- Specified by:
inspectContainer
in interfaceDockerProtocol
- Throws:
DockerException
-
getContainerLogs
public ContainerLogs getContainerLogs(ContainerId id) throws DockerException
- Specified by:
getContainerLogs
in interfaceDockerProtocol
- Throws:
DockerException
-
-