Class Config

java.lang.Object
org.robovm.compiler.config.Config

public class Config
extends Object
Holds compiler configuration.
  • Constructor Details

    • Config

      protected Config​(UUID uuid)
  • Method Details

    • builder

      public Config.Builder builder() throws IOException
      Returns a new Config.Builder which builds exactly this Config when Config.Builder.build() is called.
      Throws:
      IOException
    • getBuildUuid

      public UUID getBuildUuid()
    • getHome

      public Config.Home getHome()
    • getInstallDir

      public File getInstallDir()
    • getExecutableName

      public String getExecutableName()
    • getImageName

      public String getImageName()
    • getExecutablePath

      public File getExecutablePath()
    • getImagePath

      public File getImagePath()
    • getCacheDir

      public File getCacheDir()
    • getCcBinPath

      public File getCcBinPath()
    • getOs

      public OS getOs()
    • getArch

      public Arch getArch()
    • getArchs

      public List<Arch> getArchs()
    • getTriple

      public String getTriple()
    • getTriple

      public String getTriple​(String minVersion)
    • getClangTriple

      public String getClangTriple()
    • getClangTriple

      public String getClangTriple​(String minVersion)
    • getDataLayout

      public DataLayout getDataLayout()
    • isClean

      public boolean isClean()
    • isDebug

      public boolean isDebug()
    • isUseDebugLibs

      public boolean isUseDebugLibs()
    • isDumpIntermediates

      public boolean isDumpIntermediates()
    • isManuallyPreparedForLaunch

      public boolean isManuallyPreparedForLaunch()
    • isSkipRuntimeLib

      public boolean isSkipRuntimeLib()
    • isSkipLinking

      public boolean isSkipLinking()
    • isSkipInstall

      public boolean isSkipInstall()
    • getThreads

      public int getThreads()
    • getMainJar

      public File getMainJar()
    • getMainClass

      public String getMainClass()
    • getCacerts

      public Config.Cacerts getCacerts()
    • getResourcesPaths

      public List<Path> getResourcesPaths()
    • addResourcesPath

      public void addResourcesPath​(Path path)
    • getStripArchivesConfig

      public StripArchivesConfig getStripArchivesConfig()
    • getDependencyGraph

      public DependencyGraph getDependencyGraph()
    • getTmpDir

      public File getTmpDir()
    • getForceLinkClasses

      public List<String> getForceLinkClasses()
    • getForceLinkMethods

      public List<ForceLinkMethodsConfig> getForceLinkMethods()
    • getExportedSymbols

      public List<String> getExportedSymbols()
    • getUnhideSymbols

      public List<String> getUnhideSymbols()
    • getLibs

      public List<Config.Lib> getLibs()
    • getFrameworks

      public List<String> getFrameworks()
    • getWeakFrameworks

      public List<String> getWeakFrameworks()
    • getFrameworkPaths

      public List<File> getFrameworkPaths()
    • getAppExtensions

      public List<AppExtension> getAppExtensions()
    • getAppExtensionPaths

      public List<File> getAppExtensionPaths()
    • getSwiftSupport

      public SwiftSupport getSwiftSupport()
    • hasSwiftSupport

      public boolean hasSwiftSupport()
    • getSwiftLibPaths

      public List<File> getSwiftLibPaths()
    • getResources

      public List<Resource> getResources()
    • getOsArchDepLibDir

      public File getOsArchDepLibDir()
    • getClazzes

      public Clazzes getClazzes()
    • disposeBuildData

      public void disposeBuildData()
    • getVTableCache

      public VTable.Cache getVTableCache()
    • getITableCache

      public ITable.Cache getITableCache()
    • getMarshalerLookup

      public MarshalerLookup getMarshalerLookup()
    • getCompilerPlugins

      public List<CompilerPlugin> getCompilerPlugins()
    • getLaunchPlugins

      public List<LaunchPlugin> getLaunchPlugins()
    • getTargetPlugins

      public List<TargetPlugin> getTargetPlugins()
    • getPlugins

      public List<Plugin> getPlugins()
    • getPluginArguments

      public List<String> getPluginArguments()
    • getBootclasspath

      public List<File> getBootclasspath()
    • getClasspath

      public List<File> getClasspath()
    • getProperties

      public Properties getProperties()
    • getLogger

      public Logger getLogger()
    • getTarget

      public Target getTarget()
    • getTargetType

      public String getTargetType()
    • getTreeShakerMode

      public Config.TreeShakerMode getTreeShakerMode()
    • isSmartSkipRebuild

      public boolean isSmartSkipRebuild()
    • getIosSdkVersion

      public String getIosSdkVersion()
    • getIosDeviceType

      public String getIosDeviceType()
    • getIosInfoPList

      public InfoPList getIosInfoPList()
    • getInfoPList

      public InfoPList getInfoPList()
    • getIosEntitlementsPList

      public File getIosEntitlementsPList()
    • getIosSignIdentity

      public SigningIdentity getIosSignIdentity()
    • getIosProvisioningProfile

      public ProvisioningProfile getIosProvisioningProfile()
    • isIosSkipSigning

      public boolean isIosSkipSigning()
    • isEnableBitcode

      public boolean isEnableBitcode()
    • shouldEmitBitcode

      public boolean shouldEmitBitcode()
    • getTools

      public Tools getTools()
    • getWatchKitApp

      public WatchKitApp getWatchKitApp()
    • getArchiveName

      public String getArchiveName​(Path path)
    • getLlFile

      public File getLlFile​(Clazz clazz)
    • getCFile

      public File getCFile​(Clazz clazz)
    • getBcFile

      public File getBcFile​(Clazz clazz)
    • getSFile

      public File getSFile​(Clazz clazz)
    • getOFile

      public File getOFile​(Clazz clazz)
    • getLinesOFile

      public File getLinesOFile​(Clazz clazz)
    • getLinesLlFile

      public File getLinesLlFile​(Clazz clazz)
    • getDebugInfoOFile

      public File getDebugInfoOFile​(Clazz clazz)
    • getDebugInfoLlFile

      public File getDebugInfoLlFile​(Clazz clazz)
    • getInfoFile

      public File getInfoFile​(Clazz clazz)
    • getCacheDir

      public File getCacheDir​(Path path)
    • getGeneratedClassDir

      public File getGeneratedClassDir​(Path path)
      Returns the directory where generated classes are stored for the specified Path. Generated classes are stored in the cache directory in a dir at the same level as the cache dir for the Path with .generated appended to the dir name.
    • isQualified

      protected boolean isQualified​(Qualified qualified)
      tests if qualified item matches this config
    • loadRawConfig

      public static Config loadRawConfig​(File contentRoot) throws IOException
      reads configuration from disk without any analysis
      Throws:
      IOException