Enum CmpCompatibility
- java.lang.Object
-
- java.lang.Enum<CmpCompatibility>
-
- com.gentics.contentnode.rest.model.CmpCompatibility
-
- All Implemented Interfaces:
Serializable
,Comparable<CmpCompatibility>
public enum CmpCompatibility extends Enum<CmpCompatibility>
Compatibility level for used CMP components in a node.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_SUPPORTED
Both the Mesh and Portal versions could be retrieved, but at least one of them does not match the CMP version of the CMS.SUPPORTED
Both the Mesh and Portal versions could be retrieved, and match the CMP version of the CMS.UNKNOWN
Either the Mesh or Portal version could not be retrieved, or the CMS could not determine the requirements for its CMP version.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmpCompatibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static CmpCompatibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPPORTED
public static final CmpCompatibility SUPPORTED
Both the Mesh and Portal versions could be retrieved, and match the CMP version of the CMS.
-
NOT_SUPPORTED
public static final CmpCompatibility NOT_SUPPORTED
Both the Mesh and Portal versions could be retrieved, but at least one of them does not match the CMP version of the CMS.
-
UNKNOWN
public static final CmpCompatibility UNKNOWN
Either the Mesh or Portal version could not be retrieved, or the CMS could not determine the requirements for its CMP version.
-
-
Method Detail
-
values
public static CmpCompatibility[] 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 (CmpCompatibility c : CmpCompatibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmpCompatibility 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 nameNullPointerException
- if the argument is null
-
-