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(org.springframework.expression.spel.standard.SpelExpression expression)
Creates a new
SpelCriteria for the given SpelExpression . |
SpelCriteria(org.springframework.expression.spel.standard.SpelExpression expression,
org.springframework.expression.EvaluationContext context)
Creates new
SpelCriteria . |
Modifier and Type | Method and Description |
---|---|
org.springframework.expression.EvaluationContext |
getContext() |
org.springframework.expression.spel.standard.SpelExpression |
getExpression() |
public SpelCriteria(org.springframework.expression.spel.standard.SpelExpression expression)
SpelCriteria
for the given SpelExpression
.expression
- must not be null.public SpelCriteria(org.springframework.expression.spel.standard.SpelExpression expression, org.springframework.expression.EvaluationContext context)
SpelCriteria
.expression
- must not be null.context
- must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.