Package dev.cel.checker
Class Env.IdentBuilder
- java.lang.Object
-
- dev.cel.checker.Env.IdentBuilder
-
- Enclosing class:
- Env
@Deprecated public static final class Env.IdentBuilder extends java.lang.ObjectDeprecated.UseCelVarDecl#newBuilder()instead.A helper class for constructing identifier declarations.
-
-
Constructor Summary
Constructors Constructor Description IdentBuilder(java.lang.String name)Deprecated.Create an identifier builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description dev.cel.expr.Declbuild()Deprecated.Build the identDecl.Env.IdentBuilderdoc(@Nullable java.lang.String value)Deprecated.Set the documentation for the identifier.Env.IdentBuildertype(dev.cel.expr.Type value)Deprecated.Set the identifier type.Env.IdentBuildervalue(@Nullable dev.cel.expr.Constant value)Deprecated.Set the identifier to aConstantvalue.
-
-
-
Method Detail
-
type
@CanIgnoreReturnValue public Env.IdentBuilder type(dev.cel.expr.Type value)
Deprecated.Set the identifier type.
-
value
@CanIgnoreReturnValue public Env.IdentBuilder value(@Nullable dev.cel.expr.Constant value)
Deprecated.Set the identifier to aConstantvalue.
-
doc
@CanIgnoreReturnValue public Env.IdentBuilder doc(@Nullable java.lang.String value)
Deprecated.Set the documentation for the identifier.
-
build
public dev.cel.expr.Decl build()
Deprecated.Build the identDecl.
-
-