Package io.quarkus.test.common
Class DefaultNativeImageLauncher
- java.lang.Object
-
- io.quarkus.test.common.DefaultNativeImageLauncher
-
- All Implemented Interfaces:
ArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
,NativeImageLauncher
,Closeable
,AutoCloseable
public class DefaultNativeImageLauncher extends Object implements NativeImageLauncher
-
-
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.NativeImageLauncher
NativeImageLauncher.NativeImageInitContext
-
-
Constructor Summary
Constructors Constructor Description DefaultNativeImageLauncher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
includeAsSysProps(Map<String,String> systemProps)
void
init(NativeImageLauncher.NativeImageInitContext initContext)
boolean
listensOnSsl()
ArtifactLauncher.LaunchResult
runToCompletion(String[] args)
void
start()
void
start(String[] programArgs, boolean handleIo)
-
-
-
Method Detail
-
init
public void init(NativeImageLauncher.NativeImageInitContext initContext)
- Specified by:
init
in interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
runToCompletion
public ArtifactLauncher.LaunchResult runToCompletion(String[] args)
- Specified by:
runToCompletion
in interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
start
public void start() throws IOException
- Specified by:
start
in interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
- Throws:
IOException
-
start
public void start(String[] programArgs, boolean handleIo) throws IOException
- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()
- Specified by:
listensOnSsl
in interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
includeAsSysProps
public void includeAsSysProps(Map<String,String> systemProps)
- Specified by:
includeAsSysProps
in interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-