Class ImageInfo

java.lang.Object
org.restheart.graal.ImageInfo

public class ImageInfo extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Returns true if (at the time of the call) code is executing in the context of image building
    static boolean
    Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false.
    static boolean
    Returns true if (at the time of the call) code is executing at image runtime.
    static boolean
    Returns true if the image is built as an executable.
    static boolean
    Returns true if the image is build as a shared library.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImageInfo

      public ImageInfo()
  • Method Details

    • inImageBuildtimeCode

      public static boolean inImageBuildtimeCode()
      Returns true if (at the time of the call) code is executing in the context of image building
      Returns:
    • inImageCode

      public static boolean inImageCode()
      Returns true if (at the time of the call) code is executing in the context of image building or during image runtime, else false.
      Returns:
    • inImageRuntimeCode

      public static boolean inImageRuntimeCode()
      Returns true if (at the time of the call) code is executing at image runtime.
      Returns:
    • isExecutable

      public static boolean isExecutable()
      Returns true if the image is built as an executable.
      Returns:
    • isSharedLibrary

      public static boolean isSharedLibrary()
      Returns true if the image is build as a shared library.