Enum BundleRuleType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BundleRuleType>

    public enum BundleRuleType
    extends java.lang.Enum<BundleRuleType>
    • Enum Constant Detail

      • CHANGE_PRODUCT_PRICE_BUNDLE_RULE

        public static final BundleRuleType CHANGE_PRODUCT_PRICE_BUNDLE_RULE
      • DISABLE_PRODUCT_BUNDLE_RULE

        public static final BundleRuleType DISABLE_PRODUCT_BUNDLE_RULE
    • Method Detail

      • values

        public static BundleRuleType[] 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 (BundleRuleType c : BundleRuleType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BundleRuleType 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 name
        java.lang.NullPointerException - if the argument is null
      • getTemplateBundleName

        public java.lang.String getTemplateBundleName()
      • getModelName

        public java.lang.String getModelName()
      • getRuleName

        public java.lang.String getRuleName()
      • fromValue

        public static BundleRuleType fromValue​(java.lang.String v)