Enum Class ProductConfigRuleContainedOperator
java.lang.Object
java.lang.Enum<ProductConfigRuleContainedOperator>
de.hybris.platform.sap.productconfig.rules.definitions.ProductConfigRuleContainedOperator
- All Implemented Interfaces:
RuleParameterEnum,Serializable,Comparable<ProductConfigRuleContainedOperator>,Constable
public enum ProductConfigRuleContainedOperator
extends Enum<ProductConfigRuleContainedOperator>
implements RuleParameterEnum
Enum representing possible operators used for customer 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|IS_NOT_CONTAINED_IN] the following list of customers:
(CUSTOMER_A, CUSTOMER_B, CUSTOMER_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 'John Doe'IS_CONTAINED_INthe following list of customers:('John Doe', 'Max Mueller', 'Cony Consumer')Example: Current web shop customer 'John Doe'IS_NOT_CONTAINED_INthe following list of customers:('Max Mueller', 'Cony Consumer') -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ProductConfigRuleContainedOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS_CONTAINED_IN
Example: Current web shop customer 'John Doe'IS_CONTAINED_INthe following list of customers:('John Doe', 'Max Mueller', 'Cony Consumer') -
IS_NOT_CONTAINED_IN
Example: Current web shop customer 'John Doe'IS_NOT_CONTAINED_INthe following list of customers:('Max Mueller', 'Cony Consumer')
-
-
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
-