public abstract class NativeImageBuildRunner extends Object
| Constructor and Description |
|---|
NativeImageBuildRunner() |
| Modifier and Type | Method and Description |
|---|---|
int |
build(List<String> args,
Path outputDir,
boolean processInheritIODisabled) |
void |
cleanupServer(File outputDir,
boolean processInheritIODisabled) |
protected abstract String[] |
getBuildCommand(List<String> args) |
NativeImageBuildStep.GraalVM.Version |
getGraalVMVersion() |
protected abstract String[] |
getGraalVMVersionCommand(List<String> args) |
protected void |
postBuild() |
protected void |
preBuild(List<String> buildArgs) |
void |
setup(boolean processInheritIODisabled) |
public NativeImageBuildStep.GraalVM.Version getGraalVMVersion()
public void setup(boolean processInheritIODisabled)
public void cleanupServer(File outputDir, boolean processInheritIODisabled) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic int build(List<String> args, Path outputDir, boolean processInheritIODisabled) throws InterruptedException, IOException
InterruptedExceptionIOExceptionprotected void preBuild(List<String> buildArgs) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected void postBuild()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.