Enum Class PatchType

java.lang.Object
java.lang.Enum<PatchType>
it.auties.whatsapp.binary.PatchType
All Implemented Interfaces:
Serializable, Comparable<PatchType>, Constable

public enum PatchType extends Enum<PatchType>
  • Enum Constant Details

    • CRITICAL_BLOCK

      public static final PatchType CRITICAL_BLOCK
    • CRITICAL_UNBLOCK_LOW

      public static final PatchType CRITICAL_UNBLOCK_LOW
    • REGULAR_HIGH

      public static final PatchType REGULAR_HIGH
    • REGULAR_LOW

      public static final PatchType REGULAR_LOW
    • REGULAR

      public static final PatchType REGULAR
  • Constructor Details

    • PatchType

      private PatchType()
  • Method Details

    • values

      public static PatchType[] 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 PatchType 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 PatchType of(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PatchType>