Interface ExpressionContext
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
SpelExpressionContext
- All Known Implementing Classes:
StandardExpressionContext,StandardSpelExpressionContext
public interface ExpressionContext extends Serializable
Intended to hold relevant information required to evaluate an expression or group of expressions.- Author:
- Nathan Moore (nathanmoore).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLimit()'Limit' is intended to be used to limit the number of results to return when matching a group of rules against a group of objects.Map<String,Object>getVariables()'Variables' is intended to be used to store named variables that are to be injected into an expression or group of expressions, replacing#variableNamereferences.booleanisMatchAnyRule()'Match any' is intended to be used to determine whether all of a group of rules must match against an object or just 1.
-
-
-
Method Detail
-
isMatchAnyRule
boolean isMatchAnyRule()
'Match any' is intended to be used to determine whether all of a group of rules must match against an object or just 1.- Returns:
- whether all rules must match or any
-
getLimit
int getLimit()
'Limit' is intended to be used to limit the number of results to return when matching a group of rules against a group of objects.- Returns:
- number of matching results to return
-
-