public class SpelCriteria extends Object
SpelCriteria allows to pass on a SpelExpression and EvaluationContext to the actual query
processor. This decouples the SpelExpression from the context it is used in.| Constructor and Description |
|---|
SpelCriteria(SpelExpression expression)
Creates a new
SpelCriteria for the given SpelExpression. |
SpelCriteria(SpelExpression expression,
EvaluationContext context)
Creates new
SpelCriteria. |
| Modifier and Type | Method and Description |
|---|---|
EvaluationContext |
getContext() |
SpelExpression |
getExpression() |
public SpelCriteria(SpelExpression expression)
SpelCriteria for the given SpelExpression.expression - must not be null.public SpelCriteria(SpelExpression expression, EvaluationContext context)
SpelCriteria.expression - must not be null.context - must not be null.public EvaluationContext getContext()
public SpelExpression getExpression()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.