public static enum Storefront.MenuItemType extends java.lang.Enum<Storefront.MenuItemType>
| Enum Constant and Description |
|---|
ARTICLE
An article link.
|
BLOG
A blog link.
|
CATALOG
A catalog link.
|
COLLECTION
A collection link.
|
COLLECTIONS
A collection link.
|
FRONTPAGE
A frontpage link.
|
HTTP
An http link.
|
METAOBJECT
A metaobject page link.
|
PAGE
A page link.
|
PRODUCT
A product link.
|
SEARCH
A search link.
|
SHOP_POLICY
A shop policy link.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.MenuItemType |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.MenuItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.MenuItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.MenuItemType ARTICLE
public static final Storefront.MenuItemType BLOG
public static final Storefront.MenuItemType CATALOG
public static final Storefront.MenuItemType COLLECTION
public static final Storefront.MenuItemType COLLECTIONS
public static final Storefront.MenuItemType FRONTPAGE
public static final Storefront.MenuItemType HTTP
public static final Storefront.MenuItemType METAOBJECT
public static final Storefront.MenuItemType PAGE
public static final Storefront.MenuItemType PRODUCT
public static final Storefront.MenuItemType SEARCH
public static final Storefront.MenuItemType SHOP_POLICY
public static final Storefront.MenuItemType UNKNOWN_VALUE
public static Storefront.MenuItemType[] values()
for (Storefront.MenuItemType c : Storefront.MenuItemType.values()) System.out.println(c);
public static Storefront.MenuItemType 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.MenuItemType fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.MenuItemType>