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 ofSpelExpressionContextfor use when evaluating SpEL expressions. Fields are immutable.- Author:
- Nathan Moore (nathanmoore).
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.broadleafcommerce.rulesengine.expression.context.StandardExpressionContext
EMPTY_EXPRESSION_CONTEXT
-
-
Constructor Summary
Constructors Constructor Description StandardSpelExpressionContext()StandardSpelExpressionContext(boolean matchAny, int limit, Map<String,Object> variables, org.springframework.expression.ParserContext parserContext)StandardSpelExpressionContext(org.springframework.expression.ParserContext parserContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)org.springframework.expression.ParserContextgetParserContext()Intended to provide aParserContextto a SpEL expression.inthashCode()StringtoString()-
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 Detail
-
StandardSpelExpressionContext
public StandardSpelExpressionContext(boolean matchAny, int limit, Map<String,Object> variables, org.springframework.expression.ParserContext parserContext)
-
StandardSpelExpressionContext
public StandardSpelExpressionContext()
-
StandardSpelExpressionContext
public StandardSpelExpressionContext(org.springframework.expression.ParserContext parserContext)
-
-
Method Detail
-
getParserContext
public org.springframework.expression.ParserContext getParserContext()
Description copied from interface:SpelExpressionContextIntended to provide aParserContextto a SpEL expression. This is required to evaluate templated expressions.- Specified by:
getParserContextin interfaceSpelExpressionContext- Returns:
- a
ParserContext - See Also:
TemplateParserContext
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classStandardExpressionContext
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classStandardExpressionContext
-
hashCode
public int hashCode()
- Overrides:
hashCodein classStandardExpressionContext
-
toString
public String toString()
- Overrides:
toStringin classStandardExpressionContext
-
-