public class NativeImagePhase extends Object implements AppCreationPhase<NativeImagePhase>, NativeImageOutcome
| Constructor and Description |
|---|
NativeImagePhase() |
public NativeImagePhase setAddAllCharsets(boolean addAllCharsets)
public NativeImagePhase setOutputDir(Path outputDir)
public NativeImagePhase setReportErrorsAtRuntime(boolean reportErrorsAtRuntime)
public NativeImagePhase setDebugSymbols(boolean debugSymbols)
public NativeImagePhase setDebugBuildProcess(boolean debugBuildProcess)
public NativeImagePhase setCleanupServer(boolean cleanupServer)
public NativeImagePhase setEnableHttpUrlHandler(boolean enableHttpUrlHandler)
public NativeImagePhase setEnableHttpsUrlHandler(boolean enableHttpsUrlHandler)
public NativeImagePhase setEnableAllSecurityServices(boolean enableAllSecurityServices)
public NativeImagePhase setEnableRetainedHeapReporting(boolean enableRetainedHeapReporting)
public NativeImagePhase setEnableCodeSizeReporting(boolean enableCodeSizeReporting)
public NativeImagePhase setEnableIsolates(boolean enableIsolates)
public NativeImagePhase setGraalvmHome(String graalvmHome)
public NativeImagePhase setEnableServer(boolean enableServer)
public NativeImagePhase setEnableJni(boolean enableJni)
public NativeImagePhase setAutoServiceLoaderRegistration(boolean autoServiceLoaderRegistration)
public NativeImagePhase setDumpProxies(boolean dumpProxies)
public NativeImagePhase setNativeImageXmx(String nativeImageXmx)
public NativeImagePhase setDockerBuild(String dockerBuild)
public NativeImagePhase setContainerRuntime(String containerRuntime)
public NativeImagePhase setContainerRuntimeOptions(String containerRuntimeOptions)
public NativeImagePhase setEnableVMInspection(boolean enableVMInspection)
public NativeImagePhase setFullStackTraces(boolean fullStackTraces)
public NativeImagePhase setDisableReports(boolean disableReports)
public NativeImagePhase setAdditionalBuildArgs(List<String> additionalBuildArgs)
public void register(OutcomeProviderRegistration registration) throws AppCreatorException
OutcomeProviderregister in interface OutcomeProvider<AppCreator>registration - registration callbackAppCreatorException - in case of a failurepublic void provideOutcome(AppCreator ctx) throws AppCreatorException
OutcomeProviderprovideOutcome in interface OutcomeProvider<AppCreator>ctx - phase processing contextAppCreatorException - in case of a failurestatic void safeWaitFor(Process process)
public String getConfigPropertyName()
getConfigPropertyName in interface Configurable<NativeImagePhase>public PropertiesHandler<NativeImagePhase> getPropertiesHandler()
getPropertiesHandler in interface Configurable<NativeImagePhase>Copyright © 2019 JBoss by Red Hat. All rights reserved.