Enum Class FeatureStatus

java.lang.Object
java.lang.Enum<FeatureStatus>
org.webkitgtk.FeatureStatus
All Implemented Interfaces:
Serializable, Comparable<FeatureStatus>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum FeatureStatus extends Enum<FeatureStatus> implements Enumeration

Describes the status of a WebKitFeature.

The status for a given feature can be obtained with

invalid reference
org.webkitgtk.FeaturegetStatus
.
Since:
2.42
  • Enum Constant Details

    • EMBEDDER

      public static final FeatureStatus EMBEDDER
      Feature that adjust behaviour for specific application needs. The feature is not part of a Web platform feature, not a mature feature intended to be always on.
    • UNSTABLE

      public static final FeatureStatus UNSTABLE
      Feature in development. The feature may be unfinished, and there are no guarantees about its safety and stability.
    • INTERNAL

      public static final FeatureStatus INTERNAL
      Feature for debugging the WebKit engine. The feature is not generally useful for user or web developers, and always disabled by default.
    • DEVELOPER

      public static final FeatureStatus DEVELOPER
      Feature for web developers. The feature is not generally useful for end users, and always disabled by default.
    • TESTABLE

      public static final FeatureStatus TESTABLE
      Feature in active development and complete enough for testing. The feature may not be yet ready to ship and is disabled by default.
    • PREVIEW

      public static final FeatureStatus PREVIEW
      Feature ready to be tested by users. The feature is disabled by default, but may be enabled by applications automatically e.g. in their “technology preview” or “beta” versions.
    • STABLE

      public static final FeatureStatus STABLE
      Feature ready for general use. The feature is enabled by default, but it may still be toggled to support debugging and testing.
    • MATURE

      public static final FeatureStatus MATURE
      Feature in general use. The feature is always enabled and in general there should be no user-facing interface to toggle it.
  • Method Details

    • values

      public static FeatureStatus[] 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 FeatureStatus 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
    • of

      public static FeatureStatus of(int value)
      Create a new FeatureStatus for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static FeatureStatus of(MemorySegment address)
      Create a new FeatureStatus for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the FeatureStatus class.
      Returns:
      the GType