Enum ProductConfigRuleContainedDeepOperator
- java.lang.Object
-
- java.lang.Enum<ProductConfigRuleContainedDeepOperator>
-
- de.hybris.platform.sap.productconfig.rules.definitions.ProductConfigRuleContainedDeepOperator
-
- All Implemented Interfaces:
RuleParameterEnum,java.io.Serializable,java.lang.Comparable<ProductConfigRuleContainedDeepOperator>
public enum ProductConfigRuleContainedDeepOperator extends java.lang.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[IS_CONTAINED_IN_ANY|IS_CONTAINED_IN_ALL|IS_NOT_CONTAINED_IN_ANY]of the following customer groups:(GROUP_A, GROUP_B, GROUP_C)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IS_CONTAINED_IN_ALLExample: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ALLof the following customer groups:('Customer', 'Gold Status', 'Premium Delivery')IS_CONTAINED_IN_ANYExample: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ANYof the following customer groups:('Customer', 'Sales Agents', 'Administrators')IS_NOT_CONTAINED_IN_ANYExample: Current web shop customer 'Cony Consumer'IS_CONTAINED_IN_ANYof the following customer groups:('Platinum Status', 'Premium Delivery')
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProductConfigRuleContainedDeepOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProductConfigRuleContainedDeepOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_CONTAINED_IN_ANY
public static final ProductConfigRuleContainedDeepOperator 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
public static final ProductConfigRuleContainedDeepOperator 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
public static final ProductConfigRuleContainedDeepOperator 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 Detail
-
values
public static ProductConfigRuleContainedDeepOperator[] 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 (ProductConfigRuleContainedDeepOperator c : ProductConfigRuleContainedDeepOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProductConfigRuleContainedDeepOperator 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
-
-