Package org.graalvm.buildtools.utils
Class NativeImageConfigurationUtils
java.lang.Object
org.graalvm.buildtools.utils.NativeImageConfigurationUtils
- All Implemented Interfaces:
org.graalvm.buildtools.utils.SharedConstants
public abstract class NativeImageConfigurationUtils
extends Object
implements org.graalvm.buildtools.utils.SharedConstants
Utility class containing various native-image and JVM related methods.
-
Field Summary
FieldsFields 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Path
getJavaHomeNativeImage
(String javaHomeVariable, Boolean failFast, org.codehaus.plexus.logging.Logger logger) static Path
getNativeImage
(org.codehaus.plexus.logging.Logger logger) static Path
-
Field Details
-
NATIVE_TESTS_EXE
-
MAVEN_GROUP_ID
- See Also:
-
nativeImageExeCache
-
-
Constructor Details
-
NativeImageConfigurationUtils
public NativeImageConfigurationUtils()
-
-
Method Details
-
getJavaHomeNativeImage
public static Path getJavaHomeNativeImage(String javaHomeVariable, Boolean failFast, org.codehaus.plexus.logging.Logger logger) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getNativeImageFromPath
-
getNativeImage
public static Path getNativeImage(org.codehaus.plexus.logging.Logger logger) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-