Enum PromotionOrderResults.PromotionResultStatus
- java.lang.Object
-
- java.lang.Enum<PromotionOrderResults.PromotionResultStatus>
-
- de.hybris.platform.promotions.result.PromotionOrderResults.PromotionResultStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PromotionOrderResults.PromotionResultStatus>
- Enclosing class:
- PromotionOrderResults
protected static enum PromotionOrderResults.PromotionResultStatus extends java.lang.Enum<PromotionOrderResults.PromotionResultStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AnyAppliedOnlyCouldFireOnlyFiredOnlyFiredOrApplied
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PromotionOrderResults.PromotionResultStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PromotionOrderResults.PromotionResultStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Any
public static final PromotionOrderResults.PromotionResultStatus Any
-
CouldFireOnly
public static final PromotionOrderResults.PromotionResultStatus CouldFireOnly
-
FiredOnly
public static final PromotionOrderResults.PromotionResultStatus FiredOnly
-
AppliedOnly
public static final PromotionOrderResults.PromotionResultStatus AppliedOnly
-
FiredOrApplied
public static final PromotionOrderResults.PromotionResultStatus FiredOrApplied
-
-
Method Detail
-
values
public static PromotionOrderResults.PromotionResultStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PromotionOrderResults.PromotionResultStatus c : PromotionOrderResults.PromotionResultStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromotionOrderResults.PromotionResultStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-