public enum StrategyType extends Enum<StrategyType>
| Enum Constant and Description |
|---|
DECREASE
减少数量,表示取消用户的履约行为(例如用户取消购买、退货退款等)
|
INCREASE
增加数量,表示用户发生了履约行为
|
| Modifier and Type | Method and Description |
|---|---|
static StrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrategyType INCREASE
public static final StrategyType DECREASE
public static StrategyType[] values()
for (StrategyType c : StrategyType.values()) System.out.println(c);
public static StrategyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.