public final class EL extends Object
EL is a Expression Language Handler.| Modifier and Type | Class and Description |
|---|---|
static class |
EL.DefaultFunctions |
| Modifier and Type | Method and Description |
|---|---|
static EL |
compile(ELRegistration registration,
String expression)
Compiles the given expressions and return an
EL for script execution. |
static EL |
compile(String expression)
Same as calling
compile(ELRegistration, String) using EL.DefaultFunctions. |
ELResult |
execute(ELContext context) |
static boolean |
isUsed()
Returns
true if this class has been used to execute JEXL script. |
Set<String> |
variables() |
public static boolean isUsed()
true if this class has been used to execute JEXL script.public static EL compile(String expression) throws ELException
compile(ELRegistration, String) using EL.DefaultFunctions.ELExceptionpublic static EL compile(ELRegistration registration, String expression) throws ELException
EL for script execution.registration - extra objects available for the script to useexpression - the JEXL expresionEL instanceELException - if failed to compile the expressionpublic ELResult execute(ELContext context) throws ELException
ELExceptionCopyright © 2022 CDAP Licensed under the Apache License, Version 2.0.