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