Class NativeImageConfigurationUtils

  • All Implemented Interfaces:
    org.graalvm.buildtools.utils.SharedConstants

    public abstract class NativeImageConfigurationUtils
    extends java.lang.Object
    implements org.graalvm.buildtools.utils.SharedConstants
    Utility class containing various native-image and JVM related methods.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MAVEN_GROUP_ID  
      static java.lang.String NATIVE_TESTS_EXE  
      static java.nio.file.Path nativeImageExeCache  
      • Fields inherited from interface org.graalvm.buildtools.utils.SharedConstants

        AGENT_OUTPUT_DIRECTORY_MARKER, AGENT_OUTPUT_DIRECTORY_OPTION, AGENT_OUTPUT_FOLDER, AGENT_PROPERTY, AGENT_SESSION_SUBDIR, DEFAULT_EXCLUDES_FOR_RESOURCE_DETECTION, EXECUTABLE_EXTENSION, GRAALVM_EXE_EXTENSION, GU_EXE, IS_CI, IS_DUMB_TERM, IS_WINDOWS, METADATA_REPO_DEFAULT_VERSION, METADATA_REPO_URL_TEMPLATE, NATIVE_IMAGE_EXE, NATIVE_IMAGE_OUTPUT_FOLDER, NATIVE_TESTS_SUFFIX, NO_COLOR
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.file.Path getJavaHomeNativeImage​(java.lang.String javaHomeVariable, java.lang.Boolean failFast, org.codehaus.plexus.logging.Logger logger)  
      static java.nio.file.Path getNativeImage​(org.codehaus.plexus.logging.Logger logger)  
      static java.nio.file.Path getNativeImageFromPath()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NATIVE_TESTS_EXE

        public static final java.lang.String NATIVE_TESTS_EXE
      • nativeImageExeCache

        public static java.nio.file.Path nativeImageExeCache
    • Constructor Detail

      • NativeImageConfigurationUtils

        public NativeImageConfigurationUtils()
    • Method Detail

      • getJavaHomeNativeImage

        public static java.nio.file.Path getJavaHomeNativeImage​(java.lang.String javaHomeVariable,
                                                                java.lang.Boolean failFast,
                                                                org.codehaus.plexus.logging.Logger logger)
                                                         throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getNativeImageFromPath

        public static java.nio.file.Path getNativeImageFromPath()
      • getNativeImage

        public static java.nio.file.Path getNativeImage​(org.codehaus.plexus.logging.Logger logger)
                                                 throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException