public static enum Storefront.PredictiveSearchType extends java.lang.Enum<Storefront.PredictiveSearchType>
| Enum Constant and Description |
|---|
ARTICLE
Returns matching articles.
|
COLLECTION
Returns matching collections.
|
PAGE
Returns matching pages.
|
PRODUCT
Returns matching products.
|
QUERY
Returns matching query strings.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.PredictiveSearchType |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.PredictiveSearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.PredictiveSearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.PredictiveSearchType ARTICLE
public static final Storefront.PredictiveSearchType COLLECTION
public static final Storefront.PredictiveSearchType PAGE
public static final Storefront.PredictiveSearchType PRODUCT
public static final Storefront.PredictiveSearchType QUERY
public static final Storefront.PredictiveSearchType UNKNOWN_VALUE
public static Storefront.PredictiveSearchType[] values()
for (Storefront.PredictiveSearchType c : Storefront.PredictiveSearchType.values()) System.out.println(c);
public static Storefront.PredictiveSearchType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Storefront.PredictiveSearchType fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.PredictiveSearchType>