Package io.quarkus.test.common
Class DockerContainerLauncher
- java.lang.Object
-
- io.quarkus.test.common.DockerContainerLauncher
-
- All Implemented Interfaces:
ArtifactLauncher
,Closeable
,AutoCloseable
public class DockerContainerLauncher extends Object implements ArtifactLauncher
-
-
Constructor Summary
Constructors Constructor Description DockerContainerLauncher(String containerImage)
DockerContainerLauncher(String containerImage, int httpPort, int httpsPort, long jarWaitTime, String profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSystemProperties(Map<String,String> systemProps)
void
close()
boolean
listensOnSsl()
void
start()
-
-
-
Method Detail
-
start
public void start() throws IOException
- Specified by:
start
in interfaceArtifactLauncher
- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()
- Specified by:
listensOnSsl
in interfaceArtifactLauncher
-
addSystemProperties
public void addSystemProperties(Map<String,String> systemProps)
- Specified by:
addSystemProperties
in interfaceArtifactLauncher
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-