public enum CmpProduct extends Enum<CmpProduct>
| Enum Constant and Description |
|---|
CMS |
MESH |
PORTAL_ESSENTIALS |
PORTAL_JAVA |
PORTAL_PHP |
| Modifier and Type | Method and Description |
|---|---|
static CmpProduct |
forName(String productName)
Return the respective enum value for the given product name.
|
String |
productName()
Get the product name for this enum value.
|
String |
shortCode()
Get the short code for this enum value.
|
static CmpProduct |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmpProduct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmpProduct CMS
public static final CmpProduct MESH
public static final CmpProduct PORTAL_JAVA
public static final CmpProduct PORTAL_PHP
public static final CmpProduct PORTAL_ESSENTIALS
public static CmpProduct[] values()
for (CmpProduct c : CmpProduct.values()) System.out.println(c);
public static CmpProduct valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CmpProduct forName(String productName)
productName - The product name to find an enum value forpublic String shortCode()
The short code is also used for deserialization.
public String productName()
Copyright © 2024 Gentics Software. All rights reserved.