Class RuntimeOptions

java.lang.Object
org.graalvm.nativeimage.RuntimeOptions

public final class RuntimeOptions extends Object
Used for manipulating options at run time.
Since:
19.0
  • Method Details

    • set

      public static void set(String optionName, Object value)
      Set the value of the option with the provided name to the new value.
      Since:
      19.0
    • get

      public static <T> T get(String optionName)
      Get the value of the option with the provided name.
      Since:
      19.0
    • listDescriptors

      public static List<RuntimeOptions.Descriptor> listDescriptors()
      Lists all runtime option descriptors available.
      Since:
      23.1
    • getDescriptor

      public static RuntimeOptions.Descriptor getDescriptor(String optionName)
      Looks up a single descriptor given an option name. Returns null if no descriptor could be found.
      Since:
      23.1