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 [IS_CONTAINED_IN|IS_NOT_CONTAINED_IN] the following list of customers: (CUSTOMER_A, CUSTOMER_B, CUSTOMER_C)
  • Enum Constant Details

    • IS_CONTAINED_IN

      public static final ProductConfigRuleContainedOperator IS_CONTAINED_IN
      Example: Current web shop customer 'John Doe' IS_CONTAINED_IN the following list of customers: ('John Doe', 'Max Mueller', 'Cony Consumer')
    • IS_NOT_CONTAINED_IN

      public static final ProductConfigRuleContainedOperator IS_NOT_CONTAINED_IN
      Example: Current web shop customer 'John Doe' IS_NOT_CONTAINED_IN the following list of customers: ('Max Mueller', 'Cony Consumer')
  • Method Details

    • values

      public static ProductConfigRuleContainedOperator[] 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

      public static ProductConfigRuleContainedOperator valueOf(String name)
      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 name
      NullPointerException - if the argument is null