Package io.quarkus.test.common
Class DefaultJarLauncher
java.lang.Object
io.quarkus.test.common.DefaultJarLauncher
- All Implemented Interfaces:
ArtifactLauncher<JarArtifactLauncher.JarInitContext>
,JarArtifactLauncher
,Closeable
,AutoCloseable
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
includeAsSysProps
(Map<String, String> systemProps) void
init
(JarArtifactLauncher.JarInitContext initContext) boolean
runToCompletion
(String[] args) void
start()
void
-
Field Details
-
HTTP_PRESENT
static boolean HTTP_PRESENT
-
-
Constructor Details
-
DefaultJarLauncher
public DefaultJarLauncher()
-
-
Method Details
-
init
- Specified by:
init
in interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
start
- Specified by:
start
in interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
- Throws:
IOException
-
runToCompletion
- Specified by:
runToCompletion
in interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
start
- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()- Specified by:
listensOnSsl
in interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
includeAsSysProps
- Specified by:
includeAsSysProps
in interfaceArtifactLauncher<JarArtifactLauncher.JarInitContext>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-