Enum BuyPlan.Skip
- All Implemented Interfaces:
Serializable,Comparable<BuyPlan.Skip>,java.lang.constant.Constable
- Enclosing class:
BuyPlan
Why a line was retired without reaching its target.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe shop does not stock this item at all.The shop stocks it but currently has none.Clicks dispatched but the inventory count never moved — typically out of coins. -
Method Summary
Modifier and TypeMethodDescriptionstatic BuyPlan.SkipReturns the enum constant of this type with the specified name.static BuyPlan.Skip[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_SOLD_HERE
The shop does not stock this item at all. -
OUT_OF_STOCK
The shop stocks it but currently has none. -
PURCHASE_REFUSED
Clicks dispatched but the inventory count never moved — typically out of coins.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-