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 voidclose()voidincludeAsSysProps(Map<String,String> systemProps)voidinit(NativeImageLauncher.NativeImageInitContext initContext)booleanlistensOnSsl()ArtifactLauncher.LaunchResultrunToCompletion(String[] args)voidstart()voidstart(String[] programArgs, boolean handleIo)
-
-
-
Method Detail
-
init
public void init(NativeImageLauncher.NativeImageInitContext initContext)
- Specified by:
initin interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
runToCompletion
public ArtifactLauncher.LaunchResult runToCompletion(String[] args)
- Specified by:
runToCompletionin interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
start
public void start() throws IOException- Specified by:
startin interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>- Throws:
IOException
-
start
public void start(String[] programArgs, boolean handleIo) throws IOException
- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()
- Specified by:
listensOnSslin interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
includeAsSysProps
public void includeAsSysProps(Map<String,String> systemProps)
- Specified by:
includeAsSysPropsin interfaceArtifactLauncher<NativeImageLauncher.NativeImageInitContext>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-