Package dev.cel.checker
Enum Standard.Function
- java.lang.Object
-
- java.lang.Enum<Standard.Function>
-
- dev.cel.checker.Standard.Function
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Standard.Function>
- Enclosing class:
- Standard
public static enum Standard.Function extends java.lang.Enum<Standard.Function>
Enumeration of Standard Functions that are not present inOperator
).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOL
BYTES
CONTAINS
DOUBLE
DURATION
DYN
ENDS_WITH
GET_DATE
GET_DAY_OF_MONTH
GET_DAY_OF_WEEK
GET_DAY_OF_YEAR
GET_FULL_YEAR
GET_HOURS
GET_MILLISECONDS
GET_MINUTES
GET_MONTH
GET_SECONDS
INT
LIST
MAP
MATCHES
NULL_TYPE
SIZE
STARTS_WITH
STRING
TIMESTAMP
TYPE
UINT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFunction()
static Standard.Function
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Standard.Function[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL
public static final Standard.Function BOOL
-
BYTES
public static final Standard.Function BYTES
-
CONTAINS
public static final Standard.Function CONTAINS
-
DOUBLE
public static final Standard.Function DOUBLE
-
DURATION
public static final Standard.Function DURATION
-
DYN
public static final Standard.Function DYN
-
ENDS_WITH
public static final Standard.Function ENDS_WITH
-
GET_DATE
public static final Standard.Function GET_DATE
-
GET_DAY_OF_MONTH
public static final Standard.Function GET_DAY_OF_MONTH
-
GET_DAY_OF_WEEK
public static final Standard.Function GET_DAY_OF_WEEK
-
GET_DAY_OF_YEAR
public static final Standard.Function GET_DAY_OF_YEAR
-
GET_FULL_YEAR
public static final Standard.Function GET_FULL_YEAR
-
GET_HOURS
public static final Standard.Function GET_HOURS
-
GET_MILLISECONDS
public static final Standard.Function GET_MILLISECONDS
-
GET_MINUTES
public static final Standard.Function GET_MINUTES
-
GET_MONTH
public static final Standard.Function GET_MONTH
-
GET_SECONDS
public static final Standard.Function GET_SECONDS
-
INT
public static final Standard.Function INT
-
LIST
public static final Standard.Function LIST
-
MAP
public static final Standard.Function MAP
-
MATCHES
public static final Standard.Function MATCHES
-
NULL_TYPE
public static final Standard.Function NULL_TYPE
-
SIZE
public static final Standard.Function SIZE
-
STARTS_WITH
public static final Standard.Function STARTS_WITH
-
STRING
public static final Standard.Function STRING
-
TIMESTAMP
public static final Standard.Function TIMESTAMP
-
TYPE
public static final Standard.Function TYPE
-
UINT
public static final Standard.Function UINT
-
-
Method Detail
-
values
public static Standard.Function[] 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 (Standard.Function c : Standard.Function.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Standard.Function 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
-
getFunction
public java.lang.String getFunction()
-
-