- java.lang.Object
-
- com.gluonhq.substrate.target.AbstractTargetConfiguration
-
- com.gluonhq.substrate.target.WebTargetConfiguration
-
- All Implemented Interfaces:
TargetConfiguration
public class WebTargetConfiguration extends AbstractTargetConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>WEB_AOT_DEPENDENCIES-
Fields inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
crossCompile, ENABLED_FEATURES
-
-
Constructor Summary
Constructors Constructor Description WebTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompile()Compile sets the required command line arguments and runs native-imagebooleanlink()Links a previously created objectfile with the required dependencies into a native executable or librarybooleanrunUntilEnd()Run the generated native image and returns true if the process ended successfully-
Methods inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
compileAdditionalSources, createSharedLib, createStaticLib, getCLibPath, getLinkerLibraryPaths, getNativeCodeList, getStaticJDKLibPaths, getTargetNativeCodeExtensions, install, packageApp, run
-
-
-
-
Constructor Detail
-
WebTargetConfiguration
public WebTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
-
Method Detail
-
compile
public boolean compile() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationCompile sets the required command line arguments and runs native-image- Specified by:
compilein interfaceTargetConfiguration- Overrides:
compilein classAbstractTargetConfiguration- Returns:
- true if the process ends successfully, false otherwise
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
link
public boolean link() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from interface:TargetConfigurationLinks a previously created objectfile with the required dependencies into a native executable or library- Specified by:
linkin interfaceTargetConfiguration- Overrides:
linkin classAbstractTargetConfiguration- Returns:
- true if linking succeeded, false otherwise
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
runUntilEnd
public boolean runUntilEnd() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationRun the generated native image and returns true if the process ended successfully- Specified by:
runUntilEndin interfaceTargetConfiguration- Overrides:
runUntilEndin classAbstractTargetConfiguration- Returns:
- true if the process ended successfully, false otherwise
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-