Package net.simplace.core.jexl
Class JexlRuleScript
java.lang.Object
net.simplace.core.jexl.JexlRuleScript
- All Implemented Interfaces:
org.apache.commons.jexl3.JexlExpression
- Author:
- lap
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Mode is used for Output Variables to define the way they are generalized if Frequence is no daily step. -
Method Summary
Modifier and TypeMethodDescriptionstatic JexlRuleScript.COMPLEXITY
analyseComplexity
(String aRule) Analyses a Rule for it's complexity levelcallable
(org.apache.commons.jexl3.JexlContext aArg0) debugValues
(FWSimVarMap aVarMap) evaluate
(org.apache.commons.jexl3.JexlContext aContext) getRule()
toString()
-
Method Details
-
analyseComplexity
Analyses a Rule for it's complexity level- Parameters:
aRule
-- Returns:
- a
JexlRuleScript.COMPLEXITY
level
-
evaluate
- Specified by:
evaluate
in interfaceorg.apache.commons.jexl3.JexlExpression
- Parameters:
aContext
-- Returns:
- the result of that Script or Expression execution
-
debugValues
- Parameters:
aContext
-- Returns:
- the result of that Script or Expression execution
-
getComplexity
- Returns:
- the
JexlRuleScript.COMPLEXITY
of thisScript
orExpression
-
getRule
- Returns:
- the Rule source of this
Script
orExpression
-
toString
-
getSourceText
- Specified by:
getSourceText
in interfaceorg.apache.commons.jexl3.JexlExpression
-
getParsedText
- Specified by:
getParsedText
in interfaceorg.apache.commons.jexl3.JexlExpression
-
callable
- Specified by:
callable
in interfaceorg.apache.commons.jexl3.JexlExpression
-