- java.lang.Object
-
- com.gluonhq.substrate.target.AbstractTargetConfiguration
-
- com.gluonhq.substrate.target.IosTargetConfiguration
-
- All Implemented Interfaces:
TargetConfiguration
public class IosTargetConfiguration extends AbstractTargetConfiguration
-
-
Field Summary
-
Fields inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
crossCompile, ENABLED_FEATURES
-
-
Constructor Summary
Constructors Constructor Description IosTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreateSharedLib()Creates a native image that can be used as shared librarybooleancreateStaticLib()Creates a static libraryjava.lang.StringgetAdditionalSourceFileLocation()java.lang.StringgetCompiler()protected java.util.List<java.nio.file.Path>getStaticJDKLibPaths()booleaninstall()Installs the packaged application on the local system or on a device that is attached to the local system.booleanpackageApp()Creates a package of the application (including at least executable and other possible files) in a given format.booleanrunUntilEnd()Run the generated native image and returns true if the process ended successfully-
Methods inherited from class com.gluonhq.substrate.target.AbstractTargetConfiguration
compile, compileAdditionalSources, getCLibPath, getLinkerLibraryPaths, getNativeCodeList, getTargetNativeCodeExtensions, link, run
-
-
-
-
Constructor Detail
-
IosTargetConfiguration
public IosTargetConfiguration(ProcessPaths paths, InternalProjectConfiguration configuration)
-
-
Method Detail
-
getAdditionalSourceFileLocation
public java.lang.String getAdditionalSourceFileLocation()
-
getStaticJDKLibPaths
protected java.util.List<java.nio.file.Path> getStaticJDKLibPaths() throws java.io.IOException- Overrides:
getStaticJDKLibPathsin classAbstractTargetConfiguration- Throws:
java.io.IOException
-
packageApp
public boolean packageApp() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationCreates a package of the application (including at least executable and other possible files) in a given format. By default, this method is no-op returning true.- Specified by:
packageAppin interfaceTargetConfiguration- Overrides:
packageAppin classAbstractTargetConfiguration- Returns:
- true if packaging succeeded or is a no-op, false if it failed.
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
install
public boolean install() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationInstalls the packaged application on the local system or on a device that is attached to the local system. By default, this method is no-op returning true.- Specified by:
installin interfaceTargetConfiguration- Overrides:
installin classAbstractTargetConfiguration- Returns:
- true if installing succeeded or is a no-op, false if it failed.
- 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
-
getCompiler
public java.lang.String getCompiler()
-
createStaticLib
public boolean createStaticLib() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationCreates a static library- Specified by:
createStaticLibin interfaceTargetConfiguration- Overrides:
createStaticLibin classAbstractTargetConfiguration- Returns:
- true if the process succeeded or false if the process failed
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
createSharedLib
public boolean createSharedLib() throws java.io.IOException, java.lang.InterruptedExceptionDescription copied from class:AbstractTargetConfigurationCreates a native image that can be used as shared library- Specified by:
createSharedLibin interfaceTargetConfiguration- Returns:
- true if the process succeeded or false if the process failed
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-