Enum CmpProduct

    • Enum Constant Detail

      • PORTAL_JAVA

        public static final CmpProduct PORTAL_JAVA
      • PORTAL_PHP

        public static final CmpProduct PORTAL_PHP
      • PORTAL_ESSENTIALS

        public static final CmpProduct PORTAL_ESSENTIALS
    • Method Detail

      • values

        public static CmpProduct[] 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 (CmpProduct c : CmpProduct.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CmpProduct valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forName

        public static CmpProduct forName​(String productName)
        Return the respective enum value for the given product name.
        Parameters:
        productName - The product name to find an enum value for
        Returns:
        The respective enum value for the given product name
      • shortCode

        public String shortCode()
        Get the short code for this enum value.

        The short code is also used for deserialization.

        Returns:
        The short code for this enum value
      • productName

        public String productName()
        Get the product name for this enum value.
        Returns:
        The product name for this enum value