Interface RuleParameterFilterValueProvider
-
- All Known Implementing Classes:
DefaultRuleParameterFilterValueProvider
public interface RuleParameterFilterValueProviderThis interface provides means of evaluating rule parameter filters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectevaluate(java.lang.String value, java.lang.Object contextObject)Performs evaluation of the provided filter expression encoded within its value, matching it against object that acts as an evaluation contextjava.lang.StringgetParameterId(java.lang.String value)Identifies parameter id within the provided String value
-
-
-
Method Detail
-
getParameterId
java.lang.String getParameterId(java.lang.String value)
Identifies parameter id within the provided String value- Parameters:
value- - whole value to identify parameter id from- Returns:
- parameter id from the provided value
-
evaluate
java.lang.Object evaluate(java.lang.String value, java.lang.Object contextObject)Performs evaluation of the provided filter expression encoded within its value, matching it against object that acts as an evaluation context- Parameters:
value- - whole value to identify parameter id fromcontextObject- - object used as a context for the evaluated expression- Returns:
- evaluated object based on the provided expression and context
-
-