Class Env.IdentBuilder

  • Enclosing class:
    Env

    @Deprecated
    public static final class Env.IdentBuilder
    extends java.lang.Object
    Deprecated.
    Use CelVarDecl#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.Decl build()
      Deprecated.
      Build the ident Decl.
      Env.IdentBuilder doc​(@Nullable java.lang.String value)
      Deprecated.
      Set the documentation for the identifier.
      Env.IdentBuilder type​(dev.cel.expr.Type value)
      Deprecated.
      Set the identifier type.
      Env.IdentBuilder value​(@Nullable dev.cel.expr.Constant value)
      Deprecated.
      Set the identifier to a Constant value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentBuilder

        public IdentBuilder​(java.lang.String name)
        Deprecated.
        Create an identifier builder.
    • 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 a Constant value.
      • 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 ident Decl.