Uses of Class
org.apache.commons.jexl3.JexlFeatures
-
Uses of JexlFeatures in org.apache.commons.jexl3
Modifier and TypeFieldDescriptionstatic final JexlFeatures
JexlEngine.DEFAULT_FEATURES
Default features.Modifier and TypeMethodDescriptionJexlFeatures.annotation
(boolean flag) Sets whether annotation constructs are enabled.JexlFeatures.arrayReferenceExpr
(boolean flag) Sets whether array references expressions are enabled.JexlFeatures.comparatorNames
(boolean flag) Sets whether the legacy comparison operator names syntax is enabled.JexlFeatures.constCapture
(boolean flag) Sets whether lambda captured-variables are const or not.static JexlFeatures
JexlFeatures.createAll()
Creates an all features enabled set.static JexlFeatures
JexlFeatures.createDefault()
Creates a default features set suitable for basic but complete scripting needs.static JexlFeatures
JexlFeatures.createNone()
Creates an empty feature set.static JexlFeatures
JexlFeatures.createScript()
The modern scripting features set.JexlFeatures.fatArrow
(boolean flag) Sets whether fat-arrow lambda syntax is enabled.JexlBuilder.features()
JexlFeatures.importPragma
(boolean flag) Sets whether import pragma constructs are enabled.JexlFeatures.lambda
(boolean flag) Sets whether lambda/function constructs are enabled.JexlFeatures.lexical
(boolean flag) Sets whether syntactic lexical mode is enabled.JexlFeatures.lexicalShade
(boolean flag) Sets whether syntactic lexical shade is enabled.JexlFeatures.localVar
(boolean flag) Sets whether local variables are enabled.JexlFeatures.loops
(boolean flag) Sets whether looping constructs are enabled.JexlFeatures.methodCall
(boolean flag) Sets whether method calls expressions are enabled.JexlFeatures.namespacePragma
(boolean flag) Sets whether namespace pragma constructs are enabled.JexlFeatures.namespaceTest
(Predicate<String> names) Sets a test to determine namespace declaration.JexlFeatures.newInstance
(boolean flag) Sets whether creating new instances is enabled.JexlFeatures.pragma
(boolean flag) Sets whether pragma constructs are enabled.JexlFeatures.pragmaAnywhere
(boolean flag) Sets whether pragma constructs can appear anywhere in the code.JexlFeatures.register
(boolean flag) Sets whether register are enabled.JexlFeatures.reservedNames
(Collection<String> names) Sets a collection of reserved r precluding those to be used as local variables or parameter r.JexlFeatures.script
(boolean flag) Sets whether scripts constructs are enabled.JexlFeatures.sideEffect
(boolean flag) Sets whether side effect expressions are enabled.JexlFeatures.sideEffectGlobal
(boolean flag) Sets whether side effect expressions on global variables (aka non-local) are enabled.JexlFeatures.structuredLiteral
(boolean flag) Sets whether array/map/set literal expressions are enabled.JexlFeatures.thinArrow
(boolean flag) Sets whether thin-arrow lambda syntax is enabled.Modifier and TypeMethodDescriptionabstract JexlScript
JexlEngine.createScript
(JexlFeatures features, JexlInfo info, String source, String... names) Creates a JexlScript from a String containing valid JEXL syntax.JexlBuilder.features
(JexlFeatures f) Sets the features the engine will use as a base by default.