public static enum PromotionInfo.PromotionStatus extends java.lang.Enum<PromotionInfo.PromotionStatus>
NOT_APPLICABLE
: no conditions are currently metPOTENTIAL
: some, but not all, conditions are currently metFIRED
: all conditions are metEnum Constant and Description |
---|
FIRED |
NOT_APPLICABLE |
POTENTIAL |
Modifier and Type | Method and Description |
---|---|
static PromotionInfo.PromotionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PromotionInfo.PromotionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromotionInfo.PromotionStatus POTENTIAL
public static final PromotionInfo.PromotionStatus FIRED
public static final PromotionInfo.PromotionStatus NOT_APPLICABLE
public static PromotionInfo.PromotionStatus[] values()
for (PromotionInfo.PromotionStatus c : PromotionInfo.PromotionStatus.values()) System.out.println(c);
public static PromotionInfo.PromotionStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved