Enum PageType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PageType>

    public enum PageType
    extends java.lang.Enum<PageType>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CART
      Generated enum value for PageType.Cart value defined at extension acceleratorservices.
      CATEGORY
      Generated enum value for PageType.Category value defined at extension acceleratorservices.
      ORDERCONFIRMATION
      Generated enum value for PageType.OrderConfirmation value defined at extension acceleratorservices.
      PRODUCT
      Generated enum value for PageType.Product value defined at extension acceleratorservices.
      PRODUCTSEARCH
      Generated enum value for PageType.ProductSearch value defined at extension acceleratorservices.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PageType valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • PRODUCTSEARCH

        public static final PageType PRODUCTSEARCH
        Generated enum value for PageType.ProductSearch value defined at extension acceleratorservices.
      • CATEGORY

        public static final PageType CATEGORY
        Generated enum value for PageType.Category value defined at extension acceleratorservices.
      • PRODUCT

        public static final PageType PRODUCT
        Generated enum value for PageType.Product value defined at extension acceleratorservices.
      • CART

        public static final PageType CART
        Generated enum value for PageType.Cart value defined at extension acceleratorservices.
      • ORDERCONFIRMATION

        public static final PageType ORDERCONFIRMATION
        Generated enum value for PageType.OrderConfirmation value defined at extension acceleratorservices.
    • 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 name
        java.lang.NullPointerException - if the argument is null