Uses of Interface
com.broadleafcommerce.rulesengine.expression.context.ExpressionContext
Packages that use ExpressionContext
Package
Description
-
Uses of ExpressionContext in com.broadleafcommerce.rulesengine.expression.context
Subinterfaces of ExpressionContext in com.broadleafcommerce.rulesengine.expression.contextModifier and TypeInterfaceDescriptioninterface
Adds additional context for SpEL expressions.Classes in com.broadleafcommerce.rulesengine.expression.context that implement ExpressionContextModifier and TypeClassDescriptionclass
Standard implementation ofExpressionContext
for use when evaluating expressions.class
Standard implementation ofSpelExpressionContext
for use when evaluating SpEL expressions.Fields in com.broadleafcommerce.rulesengine.expression.context declared as ExpressionContextModifier and TypeFieldDescriptionstatic final ExpressionContext
StandardExpressionContext.EMPTY_EXPRESSION_CONTEXT
-
Uses of ExpressionContext in com.broadleafcommerce.rulesengine.expression.context.factory
Methods in com.broadleafcommerce.rulesengine.expression.context.factory with parameters of type ExpressionContextModifier and TypeMethodDescriptionprotected org.springframework.expression.EvaluationContext
CachingStdEvaluationContextFactory.buildEvaluationContext
(Object rootObject, ExpressionContext expressionContext) org.springframework.expression.EvaluationContext
CachingStdEvaluationContextFactory.getEvaluationContext
(Object rootObject, ExpressionContext expressionContext) Gets anEvaluationContext
.org.springframework.expression.EvaluationContext
EvaluationContextFactory.getEvaluationContext
(Object rootObject, ExpressionContext expressionContext) Gets anEvaluationContext
. -
Uses of ExpressionContext in com.broadleafcommerce.rulesengine.expression.service
Methods in com.broadleafcommerce.rulesengine.expression.service with parameters of type ExpressionContextModifier and TypeMethodDescriptionboolean
RuleEvaluationService.allMatch
(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches all rules provided.boolean
SpelRuleEvaluationService.allMatch
(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches all rules provided.boolean
RuleEvaluationService.anyMatch
(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches any rule provided.boolean
SpelRuleEvaluationService.anyMatch
(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches any rule provided.boolean
RuleEvaluationService.evaluateRule
(String rule, Object rootObject, ExpressionContext expressionContext) Uses the configured expression parser to evaluate the rule against the root object.boolean
SpelRuleEvaluationService.evaluateRule
(String rule, Object rootObject, ExpressionContext expressionContext) Uses the configured expression parser to evaluate the rule against the root object.<T> Iterable<T>
RuleEvaluationService.findAll
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find all objects matching the rules provided.<T> Iterable<T>
SpelRuleEvaluationService.findAll
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find all objects matching the rules provided.<T> Optional<T>
RuleEvaluationService.findAny
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find an object that matches the rules.<T> Optional<T>
SpelRuleEvaluationService.findAny
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find an object that matches the rules.<T> Iterable<T>
RuleEvaluationService.findAnyN
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find a subset of all objects matching the rules provided.<T> Iterable<T>
SpelRuleEvaluationService.findAnyN
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) <T> Optional<T>
RuleEvaluationService.findFirst
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find the first object that matches the rules.<T> Optional<T>
SpelRuleEvaluationService.findFirst
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find the first object that matches the rules.<T> Iterable<T>
RuleEvaluationService.findFirstN
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) Use to find a subset of all objects matching the rules provided.<T> Iterable<T>
SpelRuleEvaluationService.findFirstN
(Collection<String> rules, Collection<T> rootObjects, ExpressionContext expressionContext) protected org.springframework.expression.Expression
SpelRuleEvaluationService.getExpressionFromCache
(String rule, ExpressionContext expressionContext) protected Optional<org.springframework.expression.ParserContext>
SpelRuleEvaluationService.getParserContext
(ExpressionContext expressionContext) boolean
RuleEvaluationService.noneMatch
(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches no provided rule.boolean
SpelRuleEvaluationService.noneMatch
(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches no provided rule.