Package net.simplace.core.jexl
Class JexlHelper
java.lang.Object
net.simplace.core.jexl.JexlHelper
- Author:
- Andreas Enders
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.commons.jexl3.JexlEngine
Thread safe JexlEngine -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final JexlRuleScript
static final JexlRuleScript
create
(JexlRuleScript.COMPLEXITY aComplexity, String aRuleOrExpression)
-
Field Details
-
JEXL_ENGINE
public static final org.apache.commons.jexl3.JexlEngine JEXL_ENGINEThread safe JexlEngine
-
-
Constructor Details
-
JexlHelper
public JexlHelper()
-
-
Method Details
-
create
public static final JexlRuleScript create(JexlRuleScript.COMPLEXITY aComplexity, String aRuleOrExpression) -
create
- Parameters:
aEngine
-aRuleOrExpression
-- Returns:
- the created Script
-