Package dev.cel.runtime
Interface CelRuntime
-
- All Known Implementing Classes:
CelRuntimeImpl,CelRuntimeLegacyImpl
@ThreadSafe public interface CelRuntimeThe CelRuntime creates executablePrograminstances fromCelAbstractSyntaxTreevalues.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCelRuntime.ProgramCreates an evaluablePrograminstance which is thread-safe and immutable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CelRuntime.ProgramcreateProgram(dev.cel.common.CelAbstractSyntaxTree ast)Creates aProgramfrom the inputast.CelRuntimeBuildertoRuntimeBuilder()
-
-
-
Method Detail
-
createProgram
@CanIgnoreReturnValue CelRuntime.Program createProgram(dev.cel.common.CelAbstractSyntaxTree ast) throws CelEvaluationException
Creates aProgramfrom the inputast.- Throws:
CelEvaluationException
-
toRuntimeBuilder
CelRuntimeBuilder toRuntimeBuilder()
-
-