Package io.quarkus.test.common
Class RunCommandLauncher
java.lang.Object
io.quarkus.test.common.RunCommandLauncher
- All Implemented Interfaces:
ArtifactLauncher<ArtifactLauncher.InitContext>,Closeable,AutoCloseable
public class RunCommandLauncher
extends Object
implements ArtifactLauncher<ArtifactLauncher.InitContext>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.test.common.ArtifactLauncher
ArtifactLauncher.InitContext, ArtifactLauncher.LaunchResult -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidincludeAsSysProps(Map<String, String> systemProps) voidinit(ArtifactLauncher.InitContext initContext) booleanrunToCompletion(String[] args) voidstart()static RunCommandLaunchertryLauncher(io.quarkus.bootstrap.app.QuarkusBootstrap bootstrap, String target, Duration waitTime)
-
Field Details
-
quarkusProcess
Process quarkusProcess
-
-
Constructor Details
-
RunCommandLauncher
public RunCommandLauncher()
-
-
Method Details
-
tryLauncher
public static RunCommandLauncher tryLauncher(io.quarkus.bootstrap.app.QuarkusBootstrap bootstrap, String target, Duration waitTime) -
init
- Specified by:
initin interfaceArtifactLauncher<ArtifactLauncher.InitContext>
-
runToCompletion
- Specified by:
runToCompletionin interfaceArtifactLauncher<ArtifactLauncher.InitContext>
-
start
- Specified by:
startin interfaceArtifactLauncher<ArtifactLauncher.InitContext>- Throws:
IOException
-
listensOnSsl
public boolean listensOnSsl()- Specified by:
listensOnSslin interfaceArtifactLauncher<ArtifactLauncher.InitContext>
-
includeAsSysProps
- Specified by:
includeAsSysPropsin interfaceArtifactLauncher<ArtifactLauncher.InitContext>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-