Package dev.cel.runtime.standard
Enum StringFunction.StringOverload
- java.lang.Object
-
- java.lang.Enum<StringFunction.StringOverload>
-
- dev.cel.runtime.standard.StringFunction.StringOverload
-
- All Implemented Interfaces:
CelStandardOverload,java.io.Serializable,java.lang.Comparable<StringFunction.StringOverload>
- Enclosing class:
- StringFunction
public static enum StringFunction.StringOverload extends java.lang.Enum<StringFunction.StringOverload> implements CelStandardOverload
Overloads for the standard function.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOL_TO_STRINGBYTES_TO_STRINGDOUBLE_TO_STRINGDURATION_TO_STRINGINT64_TO_STRINGSTRING_TO_STRINGTIMESTAMP_TO_STRINGUINT64_TO_STRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CelFunctionBindingnewFunctionBinding(dev.cel.common.CelOptions celOptions, RuntimeEquality runtimeEquality)Constructs a newCelFunctionBindingfor this CEL standard overload.static StringFunction.StringOverloadvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StringFunction.StringOverload[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING_TO_STRING
public static final StringFunction.StringOverload STRING_TO_STRING
-
INT64_TO_STRING
public static final StringFunction.StringOverload INT64_TO_STRING
-
DOUBLE_TO_STRING
public static final StringFunction.StringOverload DOUBLE_TO_STRING
-
BOOL_TO_STRING
public static final StringFunction.StringOverload BOOL_TO_STRING
-
BYTES_TO_STRING
public static final StringFunction.StringOverload BYTES_TO_STRING
-
TIMESTAMP_TO_STRING
public static final StringFunction.StringOverload TIMESTAMP_TO_STRING
-
DURATION_TO_STRING
public static final StringFunction.StringOverload DURATION_TO_STRING
-
UINT64_TO_STRING
public static final StringFunction.StringOverload UINT64_TO_STRING
-
-
Method Detail
-
values
public static StringFunction.StringOverload[] 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 (StringFunction.StringOverload c : StringFunction.StringOverload.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StringFunction.StringOverload valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
newFunctionBinding
public CelFunctionBinding newFunctionBinding(dev.cel.common.CelOptions celOptions, RuntimeEquality runtimeEquality)
Description copied from interface:CelStandardOverloadConstructs a newCelFunctionBindingfor this CEL standard overload.- Specified by:
newFunctionBindingin interfaceCelStandardOverload
-
-