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 TypeInterfaceDescriptioninterfaceAdds additional context for SpEL expressions.Classes in com.broadleafcommerce.rulesengine.expression.context that implement ExpressionContextModifier and TypeClassDescriptionclassStandard implementation ofExpressionContextfor use when evaluating expressions.classStandard implementation ofSpelExpressionContextfor use when evaluating SpEL expressions.Fields in com.broadleafcommerce.rulesengine.expression.context declared as ExpressionContextModifier and TypeFieldDescriptionstatic final ExpressionContextStandardExpressionContext.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.EvaluationContextCachingStdEvaluationContextFactory.buildEvaluationContext(Object rootObject, ExpressionContext expressionContext) org.springframework.expression.EvaluationContextCachingStdEvaluationContextFactory.getEvaluationContext(Object rootObject, ExpressionContext expressionContext) Gets anEvaluationContext.org.springframework.expression.EvaluationContextEvaluationContextFactory.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 TypeMethodDescriptionbooleanRuleEvaluationService.allMatch(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches all rules provided.booleanSpelRuleEvaluationService.allMatch(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches all rules provided.booleanRuleEvaluationService.anyMatch(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches any rule provided.booleanSpelRuleEvaluationService.anyMatch(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches any rule provided.booleanRuleEvaluationService.evaluateRule(String rule, Object rootObject, ExpressionContext expressionContext) Uses the configured expression parser to evaluate the rule against the root object.booleanSpelRuleEvaluationService.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.ExpressionSpelRuleEvaluationService.getExpressionFromCache(String rule, ExpressionContext expressionContext) protected Optional<org.springframework.expression.ParserContext>SpelRuleEvaluationService.getParserContext(ExpressionContext expressionContext) booleanRuleEvaluationService.noneMatch(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches no provided rule.booleanSpelRuleEvaluationService.noneMatch(Collection<String> rules, Object rootObject, ExpressionContext expressionContext) Use to determine if the object matches no provided rule.