Enum BuyPlan.Skip

java.lang.Object
java.lang.Enum<BuyPlan.Skip>
privbot.hooks.shop.BuyPlan.Skip
All Implemented Interfaces:
Serializable, Comparable<BuyPlan.Skip>, java.lang.constant.Constable
Enclosing class:
BuyPlan

public static enum BuyPlan.Skip extends Enum<BuyPlan.Skip>
Why a line was retired without reaching its target.
  • Enum Constant Details

    • NOT_SOLD_HERE

      public static final BuyPlan.Skip NOT_SOLD_HERE
      The shop does not stock this item at all.
    • OUT_OF_STOCK

      public static final BuyPlan.Skip OUT_OF_STOCK
      The shop stocks it but currently has none.
    • PURCHASE_REFUSED

      public static final BuyPlan.Skip PURCHASE_REFUSED
      Clicks dispatched but the inventory count never moved — typically out of coins.
  • Method Details

    • values

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

      public static BuyPlan.Skip valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null