Enum PageType
- java.lang.Object
-
- java.lang.Enum<PageType>
-
- de.hybris.platform.acceleratorservices.controllers.page.PageType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARTGenerated enum value forPageType.Cartvalue defined at extensionacceleratorservices.CATEGORYGenerated enum value forPageType.Categoryvalue defined at extensionacceleratorservices.ORDERCONFIRMATIONGenerated enum value forPageType.OrderConfirmationvalue defined at extensionacceleratorservices.PRODUCTGenerated enum value forPageType.Productvalue defined at extensionacceleratorservices.PRODUCTSEARCHGenerated enum value forPageType.ProductSearchvalue defined at extensionacceleratorservices.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRODUCTSEARCH
public static final PageType PRODUCTSEARCH
Generated enum value forPageType.ProductSearchvalue defined at extensionacceleratorservices.
-
CATEGORY
public static final PageType CATEGORY
Generated enum value forPageType.Categoryvalue defined at extensionacceleratorservices.
-
PRODUCT
public static final PageType PRODUCT
Generated enum value forPageType.Productvalue defined at extensionacceleratorservices.
-
CART
public static final PageType CART
Generated enum value forPageType.Cartvalue defined at extensionacceleratorservices.
-
ORDERCONFIRMATION
public static final PageType ORDERCONFIRMATION
Generated enum value forPageType.OrderConfirmationvalue defined at extensionacceleratorservices.
-
-
Method Detail
-
values
public static PageType[] 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 (PageType c : PageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageType 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
-
-