Enum BundleRuleType
- java.lang.Object
-
- java.lang.Enum<BundleRuleType>
-
- de.hybris.platform.configurablebundlecockpits.productcockpit.session.impl.type.BundleRuleType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BundleRuleType>
public enum BundleRuleType extends java.lang.Enum<BundleRuleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_PRODUCT_PRICE_BUNDLE_RULE
DISABLE_PRODUCT_BUNDLE_RULE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BundleRuleType
fromValue(java.lang.String v)
java.lang.String
getModelName()
java.lang.String
getRuleName()
java.lang.String
getTemplateBundleName()
static BundleRuleType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BundleRuleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 namejava.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)
-
-