Interface ExpressionContext
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
SpelExpressionContext
- All Known Implementing Classes:
StandardExpressionContext,StandardSpelExpressionContext
Intended to hold relevant information required to evaluate an expression or group of expressions.
- Author:
- Nathan Moore (nathanmoore).
-
Method Summary
Modifier and TypeMethodDescriptionintgetLimit()'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.'Variables' is intended to be used to store named variables that are to be injected into an expression or group of expressions, replacing#variableNamereferences.boolean'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 Details
-
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
-
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.- Returns:
- variables to inject into an expression or group of expressions
-