Class CelMelExtensions
java.lang.Object
com.evolveum.midpoint.model.common.expression.script.mel.extension.AbstractMidPointCelExtensions
com.evolveum.midpoint.model.common.expression.script.mel.extension.CelMelExtensions
- All Implemented Interfaces:
dev.cel.checker.CelCheckerLibrary,dev.cel.compiler.CelCompilerLibrary,dev.cel.extensions.CelExtensionLibrary.FeatureSet,dev.cel.parser.CelParserLibrary,dev.cel.runtime.CelRuntimeLibrary
Extensions for CEL compiler and runtime implementing behavior of "MEL" language.
- Author:
- Radovan Semancik
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.common.expression.script.mel.extension.AbstractMidPointCelExtensions
AbstractMidPointCelExtensions.Function -
Field Summary
Fields inherited from class com.evolveum.midpoint.model.common.expression.script.mel.extension.AbstractMidPointCelExtensions
FUNC_CONTAINS_IGNORE_CASE_NAME, FUNC_DECRYPT_NAME, FUNC_ENCRYPT_NAME, FUNC_IS_BLANK_NAME, FUNC_IS_EMPTY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionCelMelExtensions(dev.cel.common.CelOptions celOptions, Protector protector, BasicExpressionFunctions basicExpressionFunctions) -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringdecrypt(@Nullable ProtectedStringType protectedString) @Nullable ProtectedStringTypeencrypt(@Nullable PolyStringCelValue pstr) @Nullable ProtectedStringTypeprotected com.google.common.collect.ImmutableSet<AbstractMidPointCelExtensions.Function>static booleanstatic booleanstatic booleanstatic dev.cel.extensions.CelExtensionLibrary<CelMelExtensions>library(dev.cel.common.CelOptions celOptions, Protector protector, BasicExpressionFunctions basicExpressionFunctions) static StringpolystringAddPolystring(PolyStringCelValue polystringValue1, PolyStringCelValue polystringValue2) static StringpolystringAddString(PolyStringCelValue polystringValue, String s) static StringstringAddPolyString(String s, PolyStringCelValue polystringValue) static booleanstatic booleanstringIsBlank(String str) static booleanstringIsEmpty(String str) intversion()Methods inherited from class com.evolveum.midpoint.model.common.expression.script.mel.extension.AbstractMidPointCelExtensions
createException, createException, createException, functions, initialize, isCelNull, setCheckerOptions, setRuntimeOptions, toJavaMethods 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, variablesMethods inherited from interface dev.cel.parser.CelParserLibrary
setParserOptions
-
Constructor Details
-
CelMelExtensions
public CelMelExtensions(dev.cel.common.CelOptions celOptions, Protector protector, BasicExpressionFunctions basicExpressionFunctions)
-
-
Method Details
-
initializeFunctions
protected com.google.common.collect.ImmutableSet<AbstractMidPointCelExtensions.Function> initializeFunctions()- Specified by:
initializeFunctionsin classAbstractMidPointCelExtensions
-
library
public static dev.cel.extensions.CelExtensionLibrary<CelMelExtensions> library(dev.cel.common.CelOptions celOptions, Protector protector, BasicExpressionFunctions basicExpressionFunctions) -
version
public int version() -
isPresent
-
isNull
-
melList
-
encrypt
-
encrypt
-
decrypt
-
stringEqualsPolyString
-
stringAddPolyString
-
polystringAddString
-
polystringAddPolystring
public static String polystringAddPolystring(PolyStringCelValue polystringValue1, PolyStringCelValue polystringValue2) -
stringIsEmpty
-
isEmpty
-
stringIsBlank
-