Class AbstractMidPointCelExtensions

java.lang.Object
com.evolveum.midpoint.model.common.expression.script.mel.extension.AbstractMidPointCelExtensions
All Implemented Interfaces:
dev.cel.checker.CelCheckerLibrary, dev.cel.compiler.CelCompilerLibrary, dev.cel.extensions.CelExtensionLibrary.FeatureSet, dev.cel.parser.CelParserLibrary, dev.cel.runtime.CelRuntimeLibrary
Direct Known Subclasses:
CelFormatExtensions, CelLdapExtensions, CelLogExtensions, CelMelExtensions, CelMidPointExtensions, CelObjectExtensions, CelSecretExtensions

public abstract class AbstractMidPointCelExtensions extends Object implements dev.cel.compiler.CelCompilerLibrary, dev.cel.runtime.CelRuntimeLibrary, dev.cel.extensions.CelExtensionLibrary.FeatureSet
Extensions for CEL compiler and runtime implementing behavior of "MEL" language.
Author:
Radovan Semancik
  • Field Details

  • Constructor Details

    • AbstractMidPointCelExtensions

      public AbstractMidPointCelExtensions()
  • Method Details

    • initialize

      protected void initialize()
    • initializeFunctions

      protected abstract com.google.common.collect.ImmutableSet<AbstractMidPointCelExtensions.Function> initializeFunctions()
    • functions

      public com.google.common.collect.ImmutableSet<dev.cel.common.CelFunctionDecl> functions()
      Specified by:
      functions in interface dev.cel.extensions.CelExtensionLibrary.FeatureSet
    • setCheckerOptions

      public void setCheckerOptions(dev.cel.checker.CelCheckerBuilder checkerBuilder)
      Specified by:
      setCheckerOptions in interface dev.cel.checker.CelCheckerLibrary
    • setRuntimeOptions

      public void setRuntimeOptions(dev.cel.runtime.CelRuntimeBuilder runtimeBuilder)
      Specified by:
      setRuntimeOptions in interface dev.cel.runtime.CelRuntimeLibrary
    • toJava

      @Nullable protected static @Nullable Object toJava(@Nullable @Nullable Object o)
    • isCelNull

      protected static boolean isCelNull(@Nullable @Nullable Object object)
    • createException

      @NotNull protected @NotNull RuntimeException createException(@NotNull @NotNull Exception e)
    • createException

      @NotNull protected @NotNull RuntimeException createException(@NotNull @NotNull String message)
    • createException

      @NotNull protected @NotNull RuntimeException createException(@NotNull @NotNull String message, @NotNull @NotNull Exception e)