Enum Class ProductConfigRuleContainedDeepOperator
java.lang.Object
java.lang.Enum<ProductConfigRuleContainedDeepOperator>
de.hybris.platform.sap.productconfig.rules.definitions.ProductConfigRuleContainedDeepOperator
- All Implemented Interfaces:
RuleParameterEnum,Serializable,Comparable<ProductConfigRuleContainedDeepOperator>,Constable
public enum ProductConfigRuleContainedDeepOperator
extends Enum<ProductConfigRuleContainedDeepOperator>
implements RuleParameterEnum
Enum representing possible operators used for customer group condition definition in context of the product config
rule module. A typical rule condition may looks like:
Current web shop customer
Current web shop customer
[IS_CONTAINED_IN_ANY|IS_CONTAINED_IN_ALL|IS_NOT_CONTAINED_IN_ANY] of the
following customer groups: (GROUP_A, GROUP_B, GROUP_C)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExample: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ALLof the following customer groups:('Customer', 'Gold Status', 'Premium Delivery')Example: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ANYof the following customer groups:('Customer', 'Sales Agents', 'Administrators')Example: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ANYof the following customer groups:('Platinum Status', 'Premium Delivery') -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS_CONTAINED_IN_ANY
Example: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ANYof the following customer groups:('Customer', 'Sales Agents', 'Administrators') -
IS_CONTAINED_IN_ALL
Example: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ALLof the following customer groups:('Customer', 'Gold Status', 'Premium Delivery') -
IS_NOT_CONTAINED_IN_ANY
Example: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ANYof the following customer groups:('Platinum Status', 'Premium Delivery')
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-