Class ValidateLibrary

java.lang.Object
build.buf.protovalidate.internal.celext.ValidateLibrary
All Implemented Interfaces:
org.projectnessie.cel.Library

public class ValidateLibrary extends Object implements org.projectnessie.cel.Library
Custom Library for CEL. Provides all the custom extension function definitions and overloads.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.projectnessie.cel.Library

    org.projectnessie.cel.Library.StdLibrary
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a ValidateLibrary with all custom declarations and overloads.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.projectnessie.cel.EnvOption>
    Returns the compile options for the CEL environment.
    List<org.projectnessie.cel.ProgramOption>
    Returns the program options for the CEL program.

    Methods inherited from class java.lang.Object

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

    • ValidateLibrary

      public ValidateLibrary()
      Creates a ValidateLibrary with all custom declarations and overloads.
  • Method Details

    • getCompileOptions

      public List<org.projectnessie.cel.EnvOption> getCompileOptions()
      Returns the compile options for the CEL environment.
      Specified by:
      getCompileOptions in interface org.projectnessie.cel.Library
      Returns:
      the compile options.
    • getProgramOptions

      public List<org.projectnessie.cel.ProgramOption> getProgramOptions()
      Returns the program options for the CEL program.
      Specified by:
      getProgramOptions in interface org.projectnessie.cel.Library
      Returns:
      the program options.