Enum EventingFunctionLanguageCompatibility
- java.lang.Object
-
- java.lang.Enum<EventingFunctionLanguageCompatibility>
-
- com.couchbase.client.java.manager.eventing.EventingFunctionLanguageCompatibility
-
- All Implemented Interfaces:
Serializable
,Comparable<EventingFunctionLanguageCompatibility>
public enum EventingFunctionLanguageCompatibility extends Enum<EventingFunctionLanguageCompatibility>
Defines the function language compatibility level.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VERSION_6_0_0
Uses Server 6.0.0 language compat level.VERSION_6_5_0
Uses Server 6.5.0 language compat level.VERSION_6_6_2
Uses Server 6.6.2 language compat level.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventingFunctionLanguageCompatibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventingFunctionLanguageCompatibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERSION_6_0_0
public static final EventingFunctionLanguageCompatibility VERSION_6_0_0
Uses Server 6.0.0 language compat level.
-
VERSION_6_5_0
public static final EventingFunctionLanguageCompatibility VERSION_6_5_0
Uses Server 6.5.0 language compat level.
-
VERSION_6_6_2
public static final EventingFunctionLanguageCompatibility VERSION_6_6_2
Uses Server 6.6.2 language compat level.
-
-
Method Detail
-
values
public static EventingFunctionLanguageCompatibility[] 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 (EventingFunctionLanguageCompatibility c : EventingFunctionLanguageCompatibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventingFunctionLanguageCompatibility 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
-
-