Package io.quarkus.test.common
Class DefaultJarLauncher
- java.lang.Object
-
- io.quarkus.test.common.DefaultJarLauncher
-
- All Implemented Interfaces:
ArtifactLauncher<JarArtifactLauncher.JarInitContext>,JarArtifactLauncher,Closeable,AutoCloseable
public class DefaultJarLauncher extends Object implements JarArtifactLauncher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.test.common.ArtifactLauncher
ArtifactLauncher.InitContext, ArtifactLauncher.LaunchResult
-
Nested classes/interfaces inherited from interface io.quarkus.test.common.JarArtifactLauncher
JarArtifactLauncher.JarInitContext
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static booleanHTTP_PRESENT
-
Constructor Summary
Constructors Constructor Description DefaultJarLauncher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidincludeAsSysProps(Map<String,String> systemProps)voidinit(JarArtifactLauncher.JarInitContext initContext)booleanlistensOnSsl()ArtifactLauncher.LaunchResultrunToCompletion(String[] args)voidstart()voidstart(String[] programArgs, boolean handleIo)
-
-
-
Method Detail
-
init
public void init(JarArtifactLauncher.JarInitContext initContext)
- Specified by:
initin interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
start
public void start() throws IOException- Specified by:
startin interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>- Throws:
IOException
-
runToCompletion
public ArtifactLauncher.LaunchResult runToCompletion(String[] args)
- Specified by:
runToCompletionin interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
start
public void start(String[] programArgs, boolean handleIo) throws IOException
- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()
- Specified by:
listensOnSslin interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
includeAsSysProps
public void includeAsSysProps(Map<String,String> systemProps)
- Specified by:
includeAsSysPropsin interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-