Class StandardSpelExpressionContext
java.lang.Object
com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
com.broadleafcommerce.rulesengine.expression.context.StandardSpelExpressionContext
- All Implemented Interfaces:
ExpressionContext
,SpelExpressionContext
,Serializable
public class StandardSpelExpressionContext
extends StandardExpressionContext
implements SpelExpressionContext
Standard implementation of
SpelExpressionContext
for use when evaluating SpEL
expressions. Fields are immutable.- Author:
- Nathan Moore (nathanmoore).
- See Also:
-
Field Summary
Fields inherited from class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
EMPTY_EXPRESSION_CONTEXT
-
Constructor Summary
ConstructorsConstructorDescriptionStandardSpelExpressionContext
(boolean matchAny, int limit, Map<String, Object> variables, org.springframework.expression.ParserContext parserContext) StandardSpelExpressionContext
(org.springframework.expression.ParserContext parserContext) -
Method Summary
Methods inherited from class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
getLimit, getVariables, isMatchAnyRule
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.rulesengine.expression.context.ExpressionContext
getLimit, getVariables, isMatchAnyRule
-
Constructor Details
-
StandardSpelExpressionContext
-
StandardSpelExpressionContext
public StandardSpelExpressionContext() -
StandardSpelExpressionContext
public StandardSpelExpressionContext(org.springframework.expression.ParserContext parserContext)
-
-
Method Details
-
getParserContext
public org.springframework.expression.ParserContext getParserContext()Description copied from interface:SpelExpressionContext
Intended to provide aParserContext
to a SpEL expression. This is required to evaluate templated expressions.- Specified by:
getParserContext
in interfaceSpelExpressionContext
- Returns:
- a
ParserContext
- See Also:
-
TemplateParserContext
-
equals
- Overrides:
equals
in classStandardExpressionContext
-
canEqual
- Overrides:
canEqual
in classStandardExpressionContext
-
hashCode
public int hashCode()- Overrides:
hashCode
in classStandardExpressionContext
-
toString
- Overrides:
toString
in classStandardExpressionContext
-