Enum ProductFeed.FeedType
- java.lang.Object
-
- java.lang.Enum<ProductFeed.FeedType>
-
- com.adobe.cq.targetrecommendations.api.model.ProductFeed.FeedType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProductFeed.FeedType>
- Enclosing interface:
- ProductFeed
public static enum ProductFeed.FeedType extends java.lang.Enum<ProductFeed.FeedType>
Feed type enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSV
GOOGLE_PRODUCT
SITECATALYST_SAINT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProductFeed.FeedType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProductFeed.FeedType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GOOGLE_PRODUCT
public static final ProductFeed.FeedType GOOGLE_PRODUCT
-
CSV
public static final ProductFeed.FeedType CSV
-
SITECATALYST_SAINT
public static final ProductFeed.FeedType SITECATALYST_SAINT
-
-
Method Detail
-
values
public static ProductFeed.FeedType[] 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 (ProductFeed.FeedType c : ProductFeed.FeedType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProductFeed.FeedType 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
-
-