java.lang.Object
io.helidon.common.NativeImageHelper
Utility for GraalVM native image.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check whether we are in native image build time.static boolean
Check whether we are in native image environment (either build time or runtime).static boolean
Check whether we are in native image runtime.
-
Method Details
-
isRuntime
public static boolean isRuntime()Check whether we are in native image runtime.- Returns:
true
if we are in native image runtime at the time this method is called
-
isBuildTime
public static boolean isBuildTime()Check whether we are in native image build time.- Returns:
true
if we are in native image build time at the time this method is called
-
isNativeImage
public static boolean isNativeImage()Check whether we are in native image environment (either build time or runtime).- Returns:
true
if we are in native image environment at the time this method is called
-