Interface RuleParameterFilterValueProvider

All Known Implementing Classes:
DefaultRuleParameterFilterValueProvider

public interface RuleParameterFilterValueProvider
This interface provides means of evaluating rule parameter filters
  • Method Summary

    Modifier and Type
    Method
    Description
    evaluate(String value, Object contextObject)
    Performs evaluation of the provided filter expression encoded within its value, matching it against object that acts as an evaluation context
    Identifies parameter id within the provided String value
  • Method Details

    • getParameterId

      String getParameterId(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

      Object evaluate(String value, 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 from
      contextObject - - object used as a context for the evaluated expression
      Returns:
      evaluated object based on the provided expression and context