Package org.graalvm.buildtools
Class Utils
- java.lang.Object
-
- org.graalvm.buildtools.Utils
-
- All Implemented Interfaces:
org.graalvm.buildtools.utils.SharedConstants
public abstract class Utils 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
-
Constructor Summary
Constructors Constructor Description Utils()
-
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)
static java.nio.file.Path
getNativeImage()
static java.nio.file.Path
getNativeImageFromPath()
-
-
-
Field Detail
-
NATIVE_TESTS_EXE
public static final java.lang.String NATIVE_TESTS_EXE
-
MAVEN_GROUP_ID
public static final java.lang.String MAVEN_GROUP_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJavaHomeNativeImage
public static java.nio.file.Path getJavaHomeNativeImage(java.lang.String javaHomeVariable, java.lang.Boolean failFast) 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() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-