Enum Class CmpProduct

java.lang.Object
java.lang.Enum<CmpProduct>
com.gentics.contentnode.rest.model.CmpProduct
All Implemented Interfaces:
Serializable, Comparable<CmpProduct>, java.lang.constant.Constable

public enum CmpProduct extends Enum<CmpProduct>
Products used in the Gentics Content Management Platform.
  • Enum Constant Details

    • CMS

      public static final CmpProduct CMS
    • MESH

      public static final CmpProduct MESH
    • 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 Details

    • values

      public static CmpProduct[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CmpProduct valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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