Package dev.cel.runtime
Class CelRuntimeImpl
- java.lang.Object
-
- dev.cel.runtime.CelRuntimeImpl
-
- All Implemented Interfaces:
CelRuntime
@Internal @Immutable public abstract class CelRuntimeImpl extends java.lang.Object implements CelRuntime
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCelRuntimeImpl.BuilderBuilder forCelRuntimeImpl.-
Nested classes/interfaces inherited from interface dev.cel.runtime.CelRuntime
CelRuntime.Program
-
-
Constructor Summary
Constructors Constructor Description CelRuntimeImpl()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CelRuntime.ProgramcreateProgram(dev.cel.common.CelAbstractSyntaxTree ast)Creates aProgramfrom the inputast.static CelRuntimeImpl.BuildernewBuilder()CEL Library Internals.abstract CelRuntimeImpl.BuildertoRuntimeBuilder()CelRuntime.ProgramtoRuntimeProgram(Program program)
-
-
-
Method Detail
-
createProgram
public CelRuntime.Program createProgram(dev.cel.common.CelAbstractSyntaxTree ast) throws CelEvaluationException
Description copied from interface:CelRuntimeCreates aProgramfrom the inputast.- Specified by:
createProgramin interfaceCelRuntime- Throws:
CelEvaluationException
-
toRuntimeProgram
public CelRuntime.Program toRuntimeProgram(Program program)
-
toRuntimeBuilder
public abstract CelRuntimeImpl.Builder toRuntimeBuilder()
- Specified by:
toRuntimeBuilderin interfaceCelRuntime
-
newBuilder
public static CelRuntimeImpl.Builder newBuilder()
CEL Library Internals. Do not use. Consumers should useCelRuntimeFactoryinstead.TODO: Restrict visibility once factory is introduced
-
-