Package dev.cel.checker
Enum CelStandardDeclarations.StandardFunction.Overload.StringMatchers
- java.lang.Object
-
- java.lang.Enum<CelStandardDeclarations.StandardFunction.Overload.StringMatchers>
-
- dev.cel.checker.CelStandardDeclarations.StandardFunction.Overload.StringMatchers
-
- All Implemented Interfaces:
CelStandardDeclarations.StandardOverload,java.io.Serializable,java.lang.Comparable<CelStandardDeclarations.StandardFunction.Overload.StringMatchers>
- Enclosing class:
- CelStandardDeclarations.StandardFunction.Overload
public static enum CelStandardDeclarations.StandardFunction.Overload.StringMatchers extends java.lang.Enum<CelStandardDeclarations.StandardFunction.Overload.StringMatchers> implements CelStandardDeclarations.StandardOverload
Overloads for functions performing string matching, such as regular expressions or contains check.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS_STRINGENDS_WITH_STRINGMATCHESMATCHES_STRINGSTARTS_WITH_STRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CelOverloadDeclcelOverloadDecl()static CelStandardDeclarations.StandardFunction.Overload.StringMatchersvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CelStandardDeclarations.StandardFunction.Overload.StringMatchers[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATCHES
public static final CelStandardDeclarations.StandardFunction.Overload.StringMatchers MATCHES
-
MATCHES_STRING
public static final CelStandardDeclarations.StandardFunction.Overload.StringMatchers MATCHES_STRING
-
CONTAINS_STRING
public static final CelStandardDeclarations.StandardFunction.Overload.StringMatchers CONTAINS_STRING
-
ENDS_WITH_STRING
public static final CelStandardDeclarations.StandardFunction.Overload.StringMatchers ENDS_WITH_STRING
-
STARTS_WITH_STRING
public static final CelStandardDeclarations.StandardFunction.Overload.StringMatchers STARTS_WITH_STRING
-
-
Method Detail
-
values
public static CelStandardDeclarations.StandardFunction.Overload.StringMatchers[] 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 (CelStandardDeclarations.StandardFunction.Overload.StringMatchers c : CelStandardDeclarations.StandardFunction.Overload.StringMatchers.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CelStandardDeclarations.StandardFunction.Overload.StringMatchers 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
-
celOverloadDecl
public CelOverloadDecl celOverloadDecl()
- Specified by:
celOverloadDeclin interfaceCelStandardDeclarations.StandardOverload
-
-