Enum Class WebEngineStatus.Status

java.lang.Object
java.lang.Enum<WebEngineStatus.Status>
com.iizix.gyro.WebEngineStatus.Status
All Implemented Interfaces:
Serializable, Comparable<WebEngineStatus.Status>, Constable
Enclosing class:
WebEngineStatus

public static enum WebEngineStatus.Status extends Enum<WebEngineStatus.Status>
Whether the engine receives security updates (design section 2).
Author:
Christopher Mindus
  • Enum Constant Details

    • PATCHED

      public static final WebEngineStatus.Status PATCHED
      The engine is current, or newer than anything the support table knows (fail-open).
    • BEHIND

      public static final WebEngineStatus.Status BEHIND
      A newer engine exists for this device and has been out longer than the grace period.
    • ENDED

      public static final WebEngineStatus.Status ENDED
      The OS can no longer receive a patched engine.
    • NOT_ASSESSED

      public static final WebEngineStatus.Status NOT_ASSESSED
      Not Android and not iOS, or no usable user agent: never called unpatched.
  • Method Details

    • values

      public static WebEngineStatus.Status[] 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 WebEngineStatus.Status 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
    • isUnpatched

      public boolean isUnpatched()
      Tests if the status is one ServerAdmin counts as unpatched.
      Returns:
      true for BEHIND and ENDED.