Enum Class OptionCategory

java.lang.Object
java.lang.Enum<OptionCategory>
org.graalvm.options.OptionCategory
All Implemented Interfaces:
Serializable, Comparable<OptionCategory>, Constable

public enum OptionCategory extends Enum<OptionCategory>
Categorizes options according to user relevance.
Since:
19.0
  • Enum Constant Details

    • USER

      public static final OptionCategory USER
      An option common for users to apply.
      Since:
      19.0
    • EXPERT

      public static final OptionCategory EXPERT
      An option only relevant in corner cases and for fine-tuning.
      Since:
      19.0
    • INTERNAL

      public static final OptionCategory INTERNAL
      An option only relevant when debugging a language implementation or an instrument.
      Since:
      19.0
  • Method Details

    • values

      public static OptionCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OptionCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null