Class AndroidTargetConfiguration

    • Method Detail

      • compile

        public boolean compile()
                        throws java.io.IOException,
                               java.lang.InterruptedException
        Description copied from class: AbstractTargetConfiguration
        Compile sets the required command line arguments and runs native-image
        Specified by:
        compile in interface TargetConfiguration
        Overrides:
        compile in class AbstractTargetConfiguration
        Returns:
        true if the process ends successfully, false otherwise
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • link

        public boolean link()
                     throws java.io.IOException,
                            java.lang.InterruptedException
        Description copied from interface: TargetConfiguration
        Links a previously created objectfile with the required dependencies into a native executable or library
        Specified by:
        link in interface TargetConfiguration
        Overrides:
        link in class AbstractTargetConfiguration
        Returns:
        true if linking succeeded, false otherwise
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • packageApp

        public boolean packageApp()
                           throws java.io.IOException,
                                  java.lang.InterruptedException
        Description copied from class: AbstractTargetConfiguration
        Creates 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:
        packageApp in interface TargetConfiguration
        Overrides:
        packageApp in class AbstractTargetConfiguration
        Returns:
        true if packaging succeeded or is a no-op, false if it failed.
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • install

        public boolean install()
                        throws java.io.IOException,
                               java.lang.InterruptedException
        Description copied from class: AbstractTargetConfiguration
        Installs 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:
        install in interface TargetConfiguration
        Overrides:
        install in class AbstractTargetConfiguration
        Returns:
        true if installing succeeded or is a no-op, false if it failed.
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • runUntilEnd

        public boolean runUntilEnd()
                            throws java.io.IOException,
                                   java.lang.InterruptedException
        Description copied from class: AbstractTargetConfiguration
        Run the generated native image and returns true if the process ended successfully
        Specified by:
        runUntilEnd in interface TargetConfiguration
        Overrides:
        runUntilEnd in class AbstractTargetConfiguration
        Returns:
        true if the process ended successfully, false otherwise
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • getCompiler

        public java.lang.String getCompiler()
      • getAdditionalSourceFileLocation

        public java.lang.String getAdditionalSourceFileLocation()