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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull RuntimeExceptioncreateException(@NotNull Exception e) protected @NotNull RuntimeExceptioncreateException(@NotNull String message) protected @NotNull RuntimeExceptioncreateException(@NotNull String message, @NotNull Exception e) com.google.common.collect.ImmutableSet<dev.cel.common.CelFunctionDecl>protected voidprotected abstract com.google.common.collect.ImmutableSet<AbstractMidPointCelExtensions.Function>protected static booleanisCellNull(@Nullable Object object) voidsetCheckerOptions(dev.cel.checker.CelCheckerBuilder checkerBuilder) voidsetRuntimeOptions(dev.cel.runtime.CelRuntimeBuilder runtimeBuilder) protected static @Nullable ObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.cel.extensions.CelExtensionLibrary.FeatureSet
macros, variables, versionMethods inherited from interface dev.cel.parser.CelParserLibrary
setParserOptions
-
Field Details
-
FUNC_CONTAINS_IGNORE_CASE_NAME
- See Also:
-
FUNC_IS_EMPTY_NAME
- See Also:
-
FUNC_IS_BLANK_NAME
- See Also:
-
FUNC_ENCRYPT_NAME
- See Also:
-
FUNC_DECRYPT_NAME
- See Also:
-
-
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:
functionsin interfacedev.cel.extensions.CelExtensionLibrary.FeatureSet
-
setCheckerOptions
public void setCheckerOptions(dev.cel.checker.CelCheckerBuilder checkerBuilder) - Specified by:
setCheckerOptionsin interfacedev.cel.checker.CelCheckerLibrary
-
setRuntimeOptions
public void setRuntimeOptions(dev.cel.runtime.CelRuntimeBuilder runtimeBuilder) - Specified by:
setRuntimeOptionsin interfacedev.cel.runtime.CelRuntimeLibrary
-
toJava
-
isCellNull
-
createException
-
createException
-
createException
@NotNull protected @NotNull RuntimeException createException(@NotNull @NotNull String message, @NotNull @NotNull Exception e)
-